This technique was found at Makandra Cards.
To comment out code such that haml does not process it (it generates no HTML):
-# = link_to 'foo'
-# = link_to 'foo'
ruby -p -i -e '$_.gsub!(/248/,"949")' file.txt
ruby -p -i -e '$_.gsub!(/\x0D/,"")' file.txt
ruby -p -i.old -e '$_.gsub!(/248/,"949")' *.txt
find . -user john -print
find . -group john -print
You can also use numeric IDs (-uid or -gid) instead. The find command searches hidden files and directories automatically (those with names that start with a period).
ls -AF | grep \/ | sed 's/\ /\\\ /g' | xargs du -sh
python setup.py install
pydoc modules
00 03 * * * /tmp/zing.sh@reboot /usr/bin/command-to-run
crontab -e crontab -r