10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
I need to create a file name from string. The thing is:
I have a directory with files e.g:
test.123
test.234
test.345
test.987
The name should be made from the first and last name of file alphabetically and from the directory, they are in, eg.
... (2 Replies)
Discussion started by: satin1321
2 Replies
2. Shell Programming and Scripting
I'm trying to write a bash script to perform basic arithmetic operations but I want to run a comparison on the arguments first to check that they're a number greater than zero.
I want an error to pop up if the arguments args aren't >= 0 so I have:
if ! ]; then
echo "bad number: $1"
fi
... (14 Replies)
Discussion started by: TierAngst
14 Replies
3. UNIX for Dummies Questions & Answers
Hello Experts,
I have the following questions to be discussed here at this esteemed discussion forum.
I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies
4. UNIX for Advanced & Expert Users
I have a scenario to implement in Korn shell script. Here it is..
I need to compare two values to see whether they are same or not. The issue is that the values coming in for comparison can be a string or an integer which can be determined during run time only.
Which korn shell comparison... (2 Replies)
Discussion started by: vani123
2 Replies
5. Shell Programming and Scripting
/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.
/Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.
/Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
0 Replies
6. Shell Programming and Scripting
Hi All,
In one shell script I have
In variable "i" I am getting a full path of a file. Now I want to compare something like
-- upper(*Nav*))
I dont want to do like below because in each CASE statement I doing so many operations.
Please guide me.
Thanks in advance... (4 Replies)
Discussion started by: vishalaksha
4 Replies
7. Shell Programming and Scripting
Hi,
I need sample code to compare the two files line by line which contains text strings and to print the difference in the third file.
Thanks in advance (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
8. Shell Programming and Scripting
#!bin/sh
`clear`
for i in $(seq -w 15 37);
do
#echo $i
wget --dns-timeout=0.0005 http://napdweb${i}.eao.abn-iad.ea.com:8000/webcore/test/test.jsp -o 1
A=`cat 1`
C=$(expr "$A" :... (7 Replies)
Discussion started by: veerumahanthi41
7 Replies
9. Shell Programming and Scripting
I need some help with a script which accepts multiple rows of input (analysis from a virtual robot's testrun) from the standard in, and compares it as a whole with another file featuring erroneous data from a virtual robot's test run. What I want it to be able to do is slice off all the erroneous... (2 Replies)
Discussion started by: Retribution
2 Replies
10. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies