Advertisement
swaggboi

decom_func

Aug 9th, 2021 (edited)
1,727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. # Create '.bak' copy of file(s) and strip the XML comments
  2. decom() {
  3.     for i in "$@"; do
  4.         ruby -i.bak -ne 'print unless /COMMENT OUT for LUNA/' "$i";
  5.     done
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement