ref: 4e18dc77f2ab9257b363ccb480a69cb9def901ba
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