[ILUG] gnuplot question

Kenn Humborg kenn at bluetree.ie
Thu Mar 9 17:15:07 GMT 2000


> > Because the space between $4 and $5 in {print $4 $5} is
> > a concatenation operator.
> > 
> 
> so what's the right way to avoid the concatenation operator?

Use a comma:

$ echo a b c | awk '{print $1 $2}'
ab
$ echo a b c | awk '{print $1, $2}'
a b
$

Kenn





More information about the ILUG mailing list