Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


RailsCasts Episode #309: A Shell-Scripting Story

Commands used in episode

  rake --tasks | cut -d " " -f 2
  unfunction _rake; . ~/.zshrc
  ls -t .rake_tasks\~ Rakefile **/*.rake | head -n 1
  touch Rakefile
  find . -name '*.rb' -mtime -3 | xargs grep production
  brew install ack
  find . -name '*.rb' -mtime -3 | xargs sed -i 's/production/staging/'
  # other commands: sort tr comm cut paste diff patch