Hacker News new | ask | show | jobs
by listeria 203 days ago

  sh: 1: [[: not found
1 comments

Forgot that was a bash feature..

  ls | xargs -I % bash -c 'cd %; pwd; [[ $(git status -s) ]] && echo WIP || echo clean'