Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Forgot that was a bash feature..

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: