www.dflc.ch

Sysadmin and cooking recipes

November 26, 2014
by davide
1 Comment

Shell: Fixing shell script with ^M as carriage return character(s)

What appen ? Running a shell (bash, sh, tcsh, or whatever) script fail with the error below

The source of the problem is that this file have been edited on Windows system (see below) The ^M characters are carriage … Continue reading

November 26, 2014
by davide
1 Comment

Git: Tracking remote branches

For a while, I was trying to understand how does Git “remote” branches and found a very good article. Thumbs up to the author for his nice explaination !!! http://alblue.bandlem.com/2011/07/git-tip-of-week-tracking-branches.html Enjoy