Archive for August 14, 2003

Thursday, August 14, 2003 [Tweets] [Favorites]

Today’s Shell Snippets

tower$ jot -w "%03u" -s " " 19 2
002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020
tower$ python -c "print ' '.join(['%03u' % i for i in xrange(2, 21)])"
002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020
tower$ perl -e 'print join(" ", map { sprintf("%03u", $_) } (2..20)), "\n"'
002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020

TeXShop PDF Dissection

Mac OS X Hints reports that TeXShop 1.30 can copy rectangular regions of any PDF to the clipboard (as PDF).