shithub: riscv

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