10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been trying to work on a simple shell script that will just add the two argument passed to it. Here is what i tried :
echo "Welcome to this Progg. which will accept two parameter"
echo "Number of argument passed is... (4 Replies)
Discussion started by: mukulverma2408
2. Shell Programming and Scripting
I have the following files.
while read line
-> cat file_list.dat
-> cat... (6 Replies)
Discussion started by: barath
3. Shell Programming and Scripting
I am looking for a unix command or a small shell script which can takes one parameter and then searches for the passed in the parameter in any or all files under say /home/dev/
Can anyone please help me on this? (3 Replies)
Discussion started by: pankaj80
4. Shell Programming and Scripting
I have been trying to complete a shell script where, I need to increment the date depending on the file (depending on the date) availability on the remote server.
Basically, I will be passing a counter (like parameter 1 or 2 or 3 or 4).
First I will check for the... (1 Reply)
Discussion started by: filter
5. Shell Programming and Scripting
i got a file called Pass1, and then i need to passed a number to my script with the '-p pass_mark' option.
Pass1 -p 18
to pass 18 to my script for comparing things, so how can i do it? (7 Replies)
Discussion started by: mingming88
6. Shell Programming and Scripting
I am executing a shell script which takes a string as a parameter.
The scipt should validate the string and create the directoy with the name of specfied string.
The following is the specified command and its parameter.
test.sh "abc abc"
The shell script is not able to identify... (4 Replies)
Discussion started by: raghu.amilineni
7. Shell Programming and Scripting
hi unix guru's..................:confused:
question is posted in the #3 permalink shown below. (3 Replies)
Discussion started by: yahoo!
8. UNIX for Dummies Questions & Answers
I will pass 3 parameters for a script.I have to check the file name and create a new file name with time stamp.
the parameters which i'm passing are
Now i have to check filename like :
if it is a.txt i have to create... (2 Replies)
Discussion started by: ammu
9. Shell Programming and Scripting
I am passing a file name as a parameter to shell script
the parameter is getfile.txt.gpg
how do i process this parameter to get name like getfile.txt only and eleminate the .gpg text??
Thanks in advance (2 Replies)
Discussion started by: rudoraj
10. Shell Programming and Scripting
My script has 2 mandatory and 1 optional paramter. If the third parameter(optional) one is null the it should take a default value say 3. Can any one please write a simple code.
sh test.sh 1 2 3
echo " the third variable $var3"
... (1 Reply)
Discussion started by: ammu