On Sun, Nov 10, 2002 at 11:21:11AM +1300, Vik Olliver wrote: > Anyone know of a command-line utility to split text columns into > separate files? I know "cut" will do it it you specify the column > positions, but I'm looking for something that attempts to auto-discover > column widths.
Perl, of course :> cut can do what you want, you just need to use the -d and -f options. But, as always, shell gets ugly when you're dealing with text processing. Perl, baby, perl. Mike. -- Michael Beattie <[EMAIL PROTECTED]> Plug-and-Play is really nice, unfortunately it only works 50% of the time. To be specific the "Plug" almost always works. --unknown source
