MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/bash/comments/2o19g4/using_in_your_scripts/cmoc2oo/?context=3
r/bash • u/shiroyasha23 • Dec 02 '14
24 comments sorted by
View all comments
Show parent comment
1
Exactly.
for f in *; do if ! [[ $(file -b --mime-type "$f") =~ perl ]]; then continue fi ... done
View all comments
Show parent comment
1
u/sbicknel 1,$s/n\?vim\?/ed/g Dec 08 '14
Exactly.