Tag Archives: Bash
Here’s a page that has some useful tips for modern BASH scripting: http://www.davidpashley.com/articles/writing-robust-shell-scripts/
Well, at least ctrl+a and ctrl+e. I haven’t tried anything else, but I was surprised to find out that these even work within OmniGraffle.
Here is a shell script that finds an application on my hard drive using a nifty call to Finder using AppleScript: ?View Code BASH#!/bin/sh result=`exec osascript <<EOF tell application "Finder" set thePath to (POSIX path of (path to application "Doxygen")) end tell EOF` echo $result
I recently fell in love with TextMate. For me, programming 24/7, TextMate helps me edit files that would normally be a pain with the standard editors on the market. Now, with that being said, I started making a lot of Bash shell scripts to automate building projects with Xcode and delivering the binaries for testing. […]
I download files from my bank that have some really long name to them and at the end of the name, is the date. The date is not formatted, of course, and I wanted to rename the files easily, without manually parsing out the string. Now on my computer, I have DTerm and TextMate at […]