[fedora] Re: FC6 - sort

Dave Martin darkmoon at vt.edu
Tue Oct 31 16:59:34 UTC 2006


On Tue, Oct 31, 2006 at 10:43:59AM -0600, Adam Hough wrote:
> you can work around any compatibility problems by setting
> _POSIX2_VERSION=199209 in your environment. (/etc/environment)
> 
> That should fix the script that would break.

Thanks.  That does the trick.

> This actually changed in FC5 btw.

Odd that I didn't notice.  I've been running FC5 since it came out and
I know I've done sorts.

> http://www.google.com/search?hl=en&q=fedora+core+5+environment+posix
> +standard+change&btnG=Google+Search
> 
> http://72.14.209.104/search?q=cache:FN-YSsFW_Z0J:fedora.redhat.com/docs/release-notes/fc5/+fedora+core+5+environment+posix+standard+change&hl=en&gl=us&ct=clnk&cd=1
> 
> 
> On Tue, 2006-10-31 at 11:37 -0500, Dave Martin wrote:
> > So, what happened to the sort command?
> > 
> > 
> > >sort -f 4 -d ' ' foo 
> > sort: open failed: 4: No such file or directory
> > 
> > >sort +4 foo 
> > sort: open failed: +4: No such file or directory
> > 
> > 
> > That's going to break a lot of scripts.
> > 
> > 
> > -- 
> > Dave
> > -----
> > Nobody believed that I could build a space station here.  So I built it anyway.
> > It sank into the vortex.  So I built another one.  It sank into the vortex.  
> > The third station burned down, fell over then sank into the vortex.  The fourth
> > station just vanished.  And the fifth station, THAT stayed!
> > 
> -- 
> Adam Hough
> High Performance Computing
> Computing Services Center 200
> 225-578-7202
> fax: 225-578-6400
> ahough at lsu.edu
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-- 
Dave
-----
Nobody believed that I could build a space station here.  So I built it anyway.
It sank into the vortex.  So I built another one.  It sank into the vortex.  
The third station burned down, fell over then sank into the vortex.  The fourth
station just vanished.  And the fifth station, THAT stayed!




More information about the fedora-list mailing list