05-01-2007
Thanks drl, that does looking interesting, going to check it out further!
Have a goodone drl!
BobK
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Everyone,
I got a simple question. I'm trying to write a shell that looks for a file that arived ftp area and keeps looking until it find it.
It should look for the file that begins with test and then when it finds it. It starts the wmdaten.sh shell. All i got is that it runs... (5 Replies)
Discussion started by: Peterh
5 Replies
2. Shell Programming and Scripting
:D my first question is how can envoke filename expansion from within a shell script.. forinstance if i execute the script and it asks for a specific directory that i would like to cd to, how can i get the script to use the same file name expension as the command line..
my second question is how... (3 Replies)
Discussion started by: moxxx68
3 Replies
3. Shell Programming and Scripting
If someone out there could help me out with this problem. I would really appreciate it.
I am trying to convert xml into text file(fixed length) using Unix Borne shell scripts.
My xml file:
<root>
<header_rec recordtype="00">
<record_id>00</record_id>
<country_code>AK></country_code>... (0 Replies)
Discussion started by: ram2s2001
0 Replies
4. Shell Programming and Scripting
hi everyone...
i'm new to this shell programming and i want help with the following question...
i hope someone can help me ...pls plsssssssssss
==========================================================
the question
==========================================================
A number of... (1 Reply)
Discussion started by: moon14
1 Replies
5. Shell Programming and Scripting
Hi gurus out there,
1)I am using ksh, in solaris 10.
2)I have one ldif file, I need to output user DN with attributes=<some pattern> to a file.
Example:
dn: uid=joy,ou=People,o=abc.com,o=isp
nswmExtendedUserPrefs: meAutoSign=true
nswmExtendedUserPrefs: meSignature=Regards, Joy... (3 Replies)
Discussion started by: bulkbiz
3 Replies
6. Shell Programming and Scripting
Hi all,
I am trying to install expect utility on RHEL 5. It is showing that we also need to install tcl also in order to run it.
I have downloaded expect from Tucows Tucows Download - Download Expect 5.32.1
and
tcl from SourceForge.net: Downloading ...
Can someone please tell me... (5 Replies)
Discussion started by: vikas027
5 Replies
7. Shell Programming and Scripting
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Discussion started by: shashi369
1 Replies
8. Shell Programming and Scripting
Hi,
I have created 3 shell scripts which has to run one by one first two shell scripts will create a .txt files...which are used by the third shell script.Now I want to create a master script and run all these in a single script.
Please give a pseudo code on how to so the same.
... (4 Replies)
Discussion started by: gaur.deepti
4 Replies
9. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
10. UNIX for Beginners Questions & Answers
Hello!
New here although not completely new to Unix.
I wonder how I could rename files based on the data found in a simple textfile.
It goes like this:
I have 4 files
1 ldfgkkfjslkdfjsldkfjsf.wav
2 nndsdflksdjf.wav
3 sdflksjdf jjsdflsdfl.wav
4 dkadsdddd.wav
Textfile.txt looks like... (14 Replies)
Discussion started by: Oortone
14 Replies
command(1) General Commands Manual command(1)
NAME
command - execute a simple command
SYNOPSIS
command_name [argument ...]
DESCRIPTION
enables the shell to treat the arguments as a simple command, suppressing the shell function lookup.
If command_name is not the name of the function, the effect of is the same as omitting command.
Operands
recognizes the following operands:
command_name The name of a HP-UX command or a shell built-in command.
argument One or more strings to be interpreted as arguments to command_name.
The command is necessary to allow functions that have the same name as a command to call the command (instead of a recursive call to the
function).
Nothing in the description of is intended to imply that the command line is parsed any differently than any other simple command. For
example,
is not parsed in any special way that causes or to be treated other than a pipe operator or semicolon or that prevents function lookup on b
or c.
EXTERNAL INFLUENCES
Environment Variables
determines the search path used during the command search.
RETURN VALUE
exits with one of the following values:
o If fails:
126 The utility specified by the command_name is found but not executable.
127 An error occurred in the utility or the utility specified by command_name is not found.
o If does not fail:
The exit status of is the same as that of the simple command specified by the arguments: command_name[argument ...]
EXAMPLES
Create a version of the command that always prints the name of the new working directory whenever it is used:
cd() {
command "$@" >/dev/null
pwd
}
Circumvent the redefined command above, and change directories without printing the name of the new working directory:
SEE ALSO
getconf(1), sh-posix(1), confstr(3C).
STANDARDS CONFORMANCE
command(1)