ref: 4f4b767fae09a76152d777ca1b5372218d6e5ff9
dir: /bin/samcmd/
#!/bin/awk -f BEGIN{ plumb = "plumb -i -d edit -a 'action=Edit'" if(ARGC > 1){ for(i = 1; i < ARGC; i++) cmd = cmd " " ARGV[i] print cmd | plumb exit } } { if($1 == "!") $0 = last print | plumb; close(plumb) last = $0 }