by somat · 4mo ago · 0 comments
shell stuff | xargs -n 1 -I % echo real command and % args
I have also been known to write scripts where instead of executing the critical parts it prints them. Then a dry run is script
and the real run is script | sh