ts-7000
[Top] [All Lists]

[ts-7000] Re: awk squawk

To:
Subject: [ts-7000] Re: awk squawk
From: "j.chitte" <>
Date: Mon, 31 Mar 2008 18:17:00 -0000
--- 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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU