10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have written a script which will take input parameter as another script.
However, if the script passed as input parameter has parameters then this script doesn't work.
I have a script b.ksh which has 1 and 2 as parameters
I have a script c.ksh which has 3,4 and 5 as parameters
vi a.ksh... (1 Reply)
Discussion started by: Vee
1 Replies
2. Shell Programming and Scripting
There are 4 parameters that I have to pass from korn shell to sql script.
1) I have to check if $1 , $2 , $3 and $4 are null values or not .
How can I do that ?
2) Once its determined that these values are null (in the sense they are empty) how can I pass null values to sql script... (11 Replies)
Discussion started by: megha2525
11 Replies
3. Shell Programming and Scripting
Hi all,
Not sure if this should be in the programming forum, but I believe it will get more response under the Shell Programming and Scripting FORUM.
Am trying to write a customized df script in Perl and need some help with regards to using arrays and file handlers.
At the moment am... (3 Replies)
Discussion started by: newbie_01
3 Replies
4. Shell Programming and Scripting
Hi All,
I need to loop through each item in current path, if it is a direcotry do soemthing, if its a file jsut skip it and move to next item in loop.
Tried
if test ! -d $i
then
echo "The current item $i is not a directory"
continue
fi
This doesnt seems to be working .... (8 Replies)
Discussion started by: justchill
8 Replies
5. Shell Programming and Scripting
Can anybody help me with this small script , the script works fine and launches the IE from
c:\documents and settings \test\my documents>ksh prompt
$RunURL1.sh
this scitpt works and launches the ie from ksh , but when i schedule it to run the script then i get the error box saying command:1... (2 Replies)
Discussion started by: venu
2 Replies
6. UNIX for Dummies Questions & Answers
hi everybody, first time writing.
Here's my question:
I've got several files in different directories like this:
aa/t1
aa/bb/t2
aa/t2
aa/bb/cc/t1
aa/t3
and would like to get this sorting:
aa/t1
aa/bb/cc/t1
aa/t2
aa/bb/t2
aa/t3 (1 Reply)
Discussion started by: Camisa
1 Replies
7. Shell Programming and Scripting
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Discussion started by: ejianu
5 Replies
8. Shell Programming and Scripting
How to map the windows directories to unix filepath using perl scripts? (0 Replies)
Discussion started by: vinay123
0 Replies
9. UNIX for Dummies Questions & Answers
is this possible ?
i want to get the complete path of current working directory and folders under that directory ( ignore the files in them ) on windows usingn ftp from a unix box
The reason i am asking is because I need to write a script so that whenever a user creates a folder on windows... (0 Replies)
Discussion started by: systemsb
0 Replies
10. What is on Your Mind?
I just found this story about how microsoft tried to integrate Unix like shell scripting in NT. It dates back 1997 but it is still funny:
And David Korn version of it:
http://slashdot.org/articles/01/02/06/2030205.shtml (0 Replies)
Discussion started by: ripat
0 Replies