ref: 2b61ac07407f664888705b5584b0ff04afb1dcda
dir: /bin/samv/
#!/bin/rc # samv [-m] [samflags] [file ...] rfork e flags=(-a) while(~ $1 -*){ switch($1){ case * flags=($flags $1) } shift } files=($%) if(! ~ $#* 0) files=($files $*) cmd=(sam $flags $files) #ptrap edit $"files window -m $cmd