ref: 5a51e900dd113a1a5f2d2a0e8bac067fbc7da3ae 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 }