#unix 'ls -1' gives you a list of files and directories in one column, practical for perl or sed post processing
Replying to @peterthepirate
@peterthepirate You don't need "ls -1", ls automatically produces single-column output if output is not a tty (try "ls | cat" to verify)

Apr 17, 2009 · 6:16 PM UTC