PS1='${PWD}' and make uppercase?

Keith Ford x8614 fordke at ingr.com
Thu Jan 4 12:53:47 AEST 1990


I noticed in a recent discussion that using PS1='${PWD}' will cause the
working directory path to become the UNIX prompt.  This works fine, but
is there a way to translate it to upper-case?  I've tried *many* times
using combinations of tr "[a-z]" "[A-Z]", but none have worked.  Chances
are this isn't possible and I just don't know UNIX, but hey, that's okay,
isn't it?  (:  TIA -kef
-- 
_____________________________________________________________________
         >>>>>  ...!uunet!ingr!b23b!dragon!keith  <<<<<
 "Fer cryin' out loud, research physicists need porsches too!" -Opus
 "...the Trees are all kept equal by hatchet, axe, and saw." -Rush



More information about the Comp.unix.questions mailing list