random scripts I use
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
165 B

#!/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