Background Here I am trying to add a file to git It is a simple git add command. Script Original Error Warning - Could not open directory - No such file or directory Error - Image Error - Text Revision Outline Please escape the special characters git add "$_folder/oracle/v$instance/v$instance.oracle.sql" git add "$_folder/oracle/v\$instance/v\$instance.oracle.sql" … Continue reading Linux – File Names with special characters
Scripting – Bash
Git Clone – Error – “fatal: Too many arguments”
Background Ran into a little error using ""Git Bash" on MS Windows. Error Error Message - fatal: Too many arguments. Image Text Code TroubleShooting Outline Show Hidden Characters Linux / GitBash vi show hidden characters MS Windows Notepad++ show hidden characters Task Git Bash vi Show Hidden Characters Outline Original Plain text view Enter … Continue reading Git Clone – Error – “fatal: Too many arguments”
Git – Client – Commands
Background Let us review some of the GIT commands one will use each day. List of Command Command Description Syntax Link File Operation Add Add a new file git add <filename> Link Remove Remove an existing file git rm <filename> Link Rename or Move Rename or move an existing file git mv <filename> <folder> … Continue reading Git – Client – Commands
Git – Client/Windows – Git Bash
Background Upon installing a recent version of Git Client opted to evaluate one of its sub-components. Git Bash What Is? Definition Atlassian BitBucket [ Link ] Git Bash is an application for Microsoft Windows environments that provides an emulation layer for a Git command-line experience. Bash is an acronym for Bourne Again Shell. A shell … Continue reading Git – Client/Windows – Git Bash
Linux – printf – Proper Usage
Background I ran into problems with a little bash code that I was writing. I was trying to use the printf code format command. Code Here is the original code. Original Code Output Textual Revised Code Code Code The solution is pretty simple and it is to quote the format string. Simply … Continue reading Linux – printf – Proper Usage
Microsoft – Windows / Cygwin – Error – $’\r’: command not found
Background In Microsoft Windows, Launched Cygwin terminal mode and running a little bash shell script. But, getting the error "$'\r': command not found" The \r is a dead giveaway, as it means there is something amiss with Line Character and Carriage Return. Fix To fix: Launched Notepad++ Load the Bash Script File Access the menu … Continue reading Microsoft – Windows / Cygwin – Error – $’\r’: command not found