shithub: riscv

ref: 34a662c6af90f4bd5f2ae184aeb126342e4e799e
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
}