HP3000-L Archives

July 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
[log in to unmask][log in to unmask], 2 Jul 1999 15:20:43 -0600551_iso-8859-1 I am trying to set up a command file to accept parameters that indicate a
file name, group, and or account and then move the file using the posix
command. That part is easy. What I am having trouble with is the
assumption that the user will not always put the parameters in uppercase,
and if I use
xeq mv.hpbin.sys "ACCOUNT\GROUP\FILE ACCOUNT1\GROUP1\FILE"
everything in quotes needs to be uppercase. I can't find a way to make the
parameters uppercase and get them in the quotes. Any ideas appreciated. [...]42_2Jul199915:20:[log in to unmask]
Date:
Fri, 2 Jul 1999 21:01:51 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
Frank Letts writes:
>
> tr "[a-z]" "[A-Z]" < file | next command

Or also in the POSIX shell, typeset -u (IIRC from home on a Friday night after
working out at the gym).
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2