--- In "j.chitte" <> wrote:
>
> --- In "j.chitte" <j.chitte@> wrote:
> >
> > --- In Kevin Cozens <kevin@> 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
> >
>
> Sorta fixed it, got round it.
>
> dumped in mawk from "full debian" and it works as it should .
>
>
> There goes that nice tight linux installation , mawk-89k.
>
> Since so many things depend on awk kinda working at all and
busybox
> is the heart of the TSlinux system , I think this really needs to
be
> corrected.
>
> Hope it gets picked up.
>
> regards.
>
PS. This was noted about 4 yrs back, #bout time it got fixed.
http://tech.groups.yahoo.com/group/ts-7000/message/1230
I tested busybox-1.77 and this is now fixed. I have not researched at
what version it got corrected but maybe checking updates for the
debian the boards use would fix it.
In any case , the installed TSlinux is clearly a major feature of the
product it should work.
awk is a pretty fundemental system utility.
regards.
------------------------------------
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/
|