Skip to content

washtubs/random-kickass-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RANDOM KICKASS SCRIPTS

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

Word Refactor

» echo  "its itsraining() [its] raining() rainginginging raining" | ./word_refactor.pl -m its=es -m raining=regnet
es itsraining() [es] regnet() rainginginging regnet

Qry

» qry -name ‘*.java’ -- -i ‘beanname’
  • rename to gfg
  • actually make it a git wrapper
  • optional use of any three
  • fix stupid xargs bug

EOF

All operations occur on the file in place

» eof append $file 
» eof chomp $file
» eof gir-revert @{upstream} $file

About

A bunch of shell scripts that are useful

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published