Browse Source

fish: add quick-sed script

master
Alison Watson 3 years ago
parent
commit
325db1179c
  1. 7
      fish/quick-sed

7
fish/quick-sed

@ -0,0 +1,7 @@
#!/usr/bin/env fish
function quick-sed -d 'Recursively sed files in the current directory' -a i o
find . -type f -exec sed -i -e 's/'$i'/'$o'/g' {} \;
end
## EOF
Loading…
Cancel
Save