2 # $Id: rotated-data,v 1.2 2019/12/10 23:59:24 tom Exp $
3 # Rotate the second parameter's data by the given shift count.
9 next=`expr "$left" + 1`
17 char=`echo "$@" | cut -b -${left}`
18 data=`echo "$@" | cut -b ${next}-`
20 printf "%s%s\n" "$data" "$char"