Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
obiterdictum
· 12y ago · 0 comments
What is wrong with piping `ls`?
Comments
[–]
dockd
12y ago
It's usually redundant. for i in * <--> for i in `ls`
[–]
massysett
12y ago
Usually it is more pristine (from a theoretical standpoint) to use filename generation, aka globbing. You don't need a subprocess.
[–]
q3k
12y ago
http://mywiki.wooledge.org/ParsingLs