Comment

Comment by tolciho

  for name in `ls`; do echo "$name"; done
is an unportable and expensive way to write

  for name in *; do printf '%s\n' "$name"; done
but you could also just

  printf '%s\n' *
parent tolciho 3 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton