This is just gonna be a bunch of useful UNIX scripts.
Expect a lot of text processing, flat file smashing, log cruising, dragon slaying, killer scripts and one-liners. I'll also do some educational stuff.
| Script | Description |
|---|---|
| Word Refactor | Simple refactoring script that replaces word strings, while cognizant of word endings |
| Qry | git-ls-files / find / grep wrapper (surprisingly useful) |
| EOF | fixes newline eof to match an original version, or set manually |
» echo "its itsraining() [its] raining() rainginginging raining" | ./word_refactor.pl -m its=es -m raining=regnet
es itsraining() [es] regnet() rainginginging regnet» qry -name ‘*.java’ -- -i ‘beanname’- rename to
gfg - actually make it a git wrapper
- optional use of any three
- fix stupid xargs bug
All operations occur on the file in place
» eof append $file
» eof chomp $file
» eof gir-revert @{upstream} $file