Code: Select all
tr -d \015 <build2.sh >build3.sh
BTW, thanks for the instructions for getting Chrome browser set up on the pi. It's miles better than the epiphany browser.kusti8 wrote:http://linuxcommand.org/man_pages/dos2unix1.html
Code: Select all
sed -e s/<CTRL>v<ENTER>// filename > filename.new
There's that sed & awk stuff again! I worked at bash a bit but I haven't learned those two mammoth utilities yet. Fortunately, I can copy the characters onto my screen. Thanks, jbudd!jbudd wrote:Code: Select all
sed -e s/<CTRL>v<ENTER>// filename > filename.new
The only computer book I have ever sat down and read from cover to cover is Aho, Kernighan & Weinberger - The AWK Programming Language.There's that sed & awk stuff again! I worked at bash a bit but I haven't learned those two mammoth utilities yet.
Wouldn't that be: Aho, Weinberger & Kernighan or did the language get renamed from AKW to AWK?jbudd wrote: The only computer book I have ever sat down and read from cover to cover is Aho, Kernighan & Weinberger - The AWK Programming Language.
1988 - those were the days!
That book is credited as A, K, W.DougieLawson wrote:Wouldn't that be: Aho, Weinberger & Kernighan or did the language get renamed from AKW to AWK?
I very much liked one of Aho's other collaborations, The Dragon Book. It covers every language!I quite enjoyed one of Brian Kernighan's other publications, done in collaboration with Dennis Ritchie, I learned a programming language from that one.