Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
q3k
· 12y ago · 0 comments
And yet he pipes from ls...
Comments
[–]
unhammer
12y ago
And all those functions wrapping [[, ugh.
maybe I should start doing this in Python
def plus (a,b): return a+b
[–]
obiterdictum
12y ago
What is wrong with piping `ls`?
[–]
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
OP
12y ago
http://mywiki.wooledge.org/ParsingLs