ref: 32dae5e4a11c5d7876ce45d221930f84d37e83e2
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 }