ref: 9ca6ca345fa3b06dbf35e7808c35c0aaa7aa3bec dir: /rc/bin/B/
#!/bin/rc rfork e files=() dest=() if(~ $#* 0){ echo usage: B file ... >[1=2] exit usage } wdir=`{pwd} for(i){ if(! ~ $i /*) i=$wdir/$i plumb -s B -d edit $i }