On 05/11/15 12:18, Brooks Davis wrote: > On Sun, May 10, 2015 at 03:45:48PM -0400, John Baldwin wrote: >>> On May 8, 2015, at 19:36, Xin LI <delp...@freebsd.org> wrote: >>> - uuid=$1 >>> + uuid=$(echo $1 | tr '[:upper:]' '[:lower:]') >> >> tr is in /usr/bin so this breaks systems with a separate /usr. Perhaps you >> could use dd with conv=lcase instead? > > Alterntively, a shell function "ltr" exists in rc.subr for this purpose.
This only works with a single pattern at a time, though. Perhaps we need a new "ldowncase" shell function which iterates through the alphabet and invokes ltr for each letter? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"