annotate bin/runin @ 0:7d34f4b6df69

Initial check-in (partial)
author samer
date Sun, 18 Jan 2015 16:18:01 +0000
parents
children
rev   line source
samer@0 1 #!/bin/sh
samer@0 2 # usage: runin <directory> <command> <args> ...
samer@0 3 # Runs <command> after cd-ing into <directory>
samer@0 4 cd $1
samer@0 5 shift 1
samer@0 6 stty ek
samer@0 7 exec $*
samer@0 8