ref: e467b6f5ab07f5bea9049d1cb5f61d8d3846928b
dir: /bin/rn/
#!/bin/rc from=$1 to=$2 charconst='''[^'']*''' strconst='"([^"]|\\")*"' name='[a-zA-Z_][a-zA-Z_0-9]*' partial=.^`{echo -n $from | tr -c '' .} exec ssam 'y/'$charconst'/ y/'$strconst'/ x/'$name'/ g/'$from'/ v/'$partial'/ c/'$to