rminnichmerge57758a716 years agoHistory
31 lines · 453 B · Text
RawDownload
#!/bin/rc rfork en=`{echo $#*^'%3' | hoc}if(! ~ $n 0){	echo 'usage: mkrootall [name cname file]...' >[1=2]	exit usage} tmp=mkroot.$pid.outfn sigexit {	rm -f $tmp} allcname=()while(! ~ $#* 0){	name=$1	cname=$2	file=$3	shift	shift 	shift	allcname=($allcname $cname)	cp $file $tmp	t=`{file $tmp}	# do not strip venti - it uses its own symbols	if(~ $"t *executable* && ! ~ $name venti)		strip $tmp	aux/data2s $cname < $tmp}exit 0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t