shithub: riscv

ref: 83b569cbc7e772ec454f87ccd71104b23faebbc8
dir: /rc/bin/B/

View raw version
#!/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
}