Y
Hacker News
new
|
ask
|
show
|
jobs
by
obiterdictum
4400 days ago
What is wrong with piping `ls`?
3 comments
dockd
4400 days ago
It's usually redundant. for i in * <--> for i in `ls`
link
massysett
4400 days ago
Usually it is more pristine (from a theoretical standpoint) to use filename generation, aka globbing. You don't need a subprocess.
link
q3k
4400 days ago
http://mywiki.wooledge.org/ParsingLs
link