shithub: riscv

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