Re: set -A (243 Views)
Reply
Occasional Contributor
dirkm
Posts: 7
Registered: ‎01-15-2010
Message 1 of 4 (243 Views)

set -A

Here goes, my first post on this forum.

Google is not very friendly today. I do not have the man pages for the set command on our servers. I have searched for "tru64 set command" / "tru64 set man pages" / "tru64 'set -A'", but no luck.

What does the -A option mean in the set command ?

Example:

set -A lst 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Dirk
Acclaimed Contributor
Dennis Handly
Posts: 25,296
Registered: ‎03-06-2006
Message 2 of 4 (243 Views)

Re: set -A

>I do not have the man pages for the set command

That's because it is a shell command, you have to look there first:
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN1/0348___P.HTM

>What does the -A option mean?

This creates an array "lst" and initializes it with 0 through Z.
Occasional Contributor
dirkm
Posts: 7
Registered: ‎01-15-2010
Message 3 of 4 (243 Views)

Re: set -A

Thanks Dennis !
Acclaimed Contributor
Dennis Handly
Posts: 25,296
Registered: ‎03-06-2006
Message 4 of 4 (243 Views)

Re: set -A

>Thanks

If you are happy with your answer, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.