ref: e467b6f5ab07f5bea9049d1cb5f61d8d3846928b
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 }