--- In Kevin Cozens <> wrote:
>
> j.chitte wrote:
> > a little awk I had tested on x86 is returning nonsense on
TSlinux,
> > when I dug in to find out why I see awk squawk:
> >
> > $ tail -n1 '../htdocs/data/adc.data'| awk ' {printf "%s",$0}'
> > 16:18:23 0.000 2.104 1.305 2.229 $
> > $ tail -n1 '../htdocs/data/adc.data'| awk ' {printf "%s",$3}'
> > 16:18:38 0.000 2.103 1.305 2.229 $
>
> It seems as if it isn't using the space character as the field
separator.
>
> --
> Cheers!
>
> Kevin.
>
Thanks to you both. It certainly looks like BusyBorks is at fault
here.
it's not even the first release they put in here it's 1.00-rc2, and
as you say awk is buggy!
$ echo "one:two three"| awk -F: '{print $2}'
one:two three
$ echo "one:two three"| awk ' FS=":" {print $2}'
one:two three
I cant seem to get it to split the line whatever I give it.
I have seen one bug which seemed to touch on this using -F , it looks
like TS should update it if it's a prerelease and basics like this
dont work.
I'd rather do my work that have to rebuild the whole installation.
Not good.
thanks again for confirming my fears ;)
/jacques
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|