[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unexpected result while constructing strings

From: Aharon Robbins
Subject: Re: Unexpected result while constructing strings
Date: Sat, 30 Oct 2010 20:09:26 +0200

The notes so far have pretty much got it.  Concatenation in awk isn't
based on an explicit space character, but on juxtaposition.  In short,
it's a PITA and tends to make my head hurt sometimes; an explicit operator
would have been better. (Brian Kernighan once told me, about this, "it
seemed like a good idea at the time". :-)

One of my favorites was trying, many years ago now, to figure out why

        print("some diagnostic of interest") > /dev/stderr

wasn't working like I expected.  :-) :-)

Thanks to everyone for the explanations.

Aharon (Arnold) Robbins                         arnold AT skeeve DOT com
P.O. Box 354            Home Phone: +972  8 979-0381
Nof Ayalon              Cell Phone: +972 50  729-7545
D.N. Shimshon 99785     ISRAEL

reply via email to

[Prev in Thread] Current Thread [Next in Thread]