02-06-2008
Read the man page for whatever shell your are using.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm using the set command to name and log a file. The problem I'm exeriencing is that, I would like to have the set command overwrite the named logfile and not append to it. Can't seem to get the +o no clobber to work properly. Any help on this would greatly be appreciated.
Jimmy (3 Replies)
Discussion started by: jimmyflip
3 Replies
2. Windows & DOS: Issues & Discussions
Hi.. I am new unix user.
I am now using windows XP. Can I setup unix without formatting my laptop ? I would like to study unix OS to be famililar. Where can I download ( free ) unix OS ? (2 Replies)
Discussion started by: yuki
2 Replies
3. Shell Programming and Scripting
Hello
I'm using command "set" to count number of word in file .
But I don't know how to get number of lines in file using commnad "set " ?.
Please Help.
#!/bin/sh
set -- `cat $1`
echo " $# words " # wc -w $1 (4 Replies)
Discussion started by: scotty_123
4 Replies
4. Shell Programming and Scripting
i have a script in which i go to a particular dir and list all its file
------------------------------------------------------------------------
#!/bin/ksh
if test -d systemProperties
then
set --`cd systemProperties`
for i in *
do
echo "$i" >> lastm2.txt
done
fi... (2 Replies)
Discussion started by: ali560045
2 Replies
5. UNIX for Dummies Questions & Answers
I am having some issues with what should be a simple script.
Using C shell, I am trying to do this -
set x = "{test value}"
(the { and } are an important part of the data).
When I try to reference $x, for example -
echo $x
I get this result -
Missing }.
I have tried... (1 Reply)
Discussion started by: keithg
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
Some clarification regarding the unix set command for ksh env.
I read up the man pages, but ended up more blur. Eg.
- Turns off -x and -v flags and stops examining argu-
ments for flags.
- Does not change any of the flags. This option is
... (1 Reply)
Discussion started by: srage
1 Replies
7. HP-UX
Hi,
I am using hp unix
i want to know the use of the following commands
set --
set - variable
thanks (4 Replies)
Discussion started by: gomathi
4 Replies
8. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
I like to output every command executed in the script to a file.
I have tried set -x which does the same.
But it is not giving the logs of the child script which is being called from my script.
Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies
10. UNIX for Dummies Questions & Answers
Hi Friends,
There is an command that,
SET -x
I am confused with the SET command , i have gone through man page but still.
could anyone advise the same and necessity of the SET command ?
Regards,
Nantha. (2 Replies)
Discussion started by: Nandy
2 Replies
tcl(1) General Commands Manual tcl(1)
NAME
tcl, tk, tcl-tk - Tool Command Language
DESCRIPTION
The tcl software is unsupported software that is provided as part of Tru64 UNIX. Compaq will fix problems in this unsupported software
only if they are specific to Tru64 UNIX. Compaq will not fix problems that are integral to the software itself or that occur when the com-
ponent is used on UNIX systems other than Tru64 UNIX. Compaq will not add functionality to this software.
Except for this reference page, other reference pages that Tru64 UNIX supplies for tcl are passed through without changes. The reference
pages distributed as part of this software are available in the directories /usr/share/doclib/annex/man/man[1-9]. You should use this
directory stem in the man command or add it to the MANPATH environment variable to make these files available to the man command.
Note
Compaq is not responsible for the content or quality of reference pages and other documents installed under the /usr/share/doclib/annex
directory and does not revise this material in response to customer problem reports. Reference pages installed under the
/usr/share/doclib/annex/man directory are not available from Compaq in book form; for example, they are not included in the reference manu-
als that you receive when you order the Tru64 UNIX documentation set as hard copy books.
Problems related to the content or quality of any documentation installed in the /usr/share/doclib/annex directory tree should be sent to
the developers of the documentation.
The format for changing the search path with the man command is: man -P /usr/share/doclib/annex/man [section] title...
If you are using the Bourne, Korn, or POSIX shells, use the following command sequence to modify your environment: MANPATH=$MAN-
PATH:/usr/share/doclib/annex/man export MANPATH
If you are using the C shell, enter the command: setenv MANPATH `echo $MANPATH`:/usr/share/doclib/annex/man
See the reference pages for the man(1) command for additional information on the search path used to locate files.
The reference pages associated with this product are not included in the whatis data base created by the catman command. Therefore, the
man -k and apropos commands will not locate reference pages included with this product.
SEE ALSO
Commands: apropos(1), catman(8), man(1)
tcl(1)