Re: [OT] Alphabetize newsrc File
Urs Janßen <[email protected]>
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Oct 10, 2003 at 02:52:17PM -0700, Jeff Grossman wrote: > >> sort -o .newsrc .newsrc > > This isn't safe or even available on all operating systems. Check at > > least the man page before using it. > Why is it not safe? I am not asking as I think it is safe, I am asking > because I have no idea and curious what your thinking is. cause some implementations of sort (IIRC I've seen this on HP-UX 8 or 9) use a fixed ammunt of memory so inputfile might be overwritten by the outputfile -> data loss. sort < foo > bar && mv -f bar foo urs -- "Only whimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it ;)" - Linus