7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Does anyone have an example of parsing command line arguments similar to how getopts parse command line arguments?
I am looking at a getopts alternative because I want to have the same parsing on the subroutine/function in the script.
For example, I want to be able to do test.ksh -p 1... (4 Replies)
Discussion started by: newbie_01
4 Replies
2. Solaris
Is there any other editor, installed by 'default' in Sparc Solaris10, besides vi?
I'd like to avoid installing anything new.
If not, how to make vi more user-friendly?
thanks. (8 Replies)
Discussion started by: orange47
8 Replies
3. Shell Programming and Scripting
Hi techies ..
This is my first posting hr ..
Am facing a serious performance problem in counting the number of lines in the file. The input files i get will be in some 10 to 15 Gb of size or even sometimes more ..and I will load it to db
I have used wc -l to confirm whether the loader... (14 Replies)
Discussion started by: rajesh_2383
14 Replies
4. Shell Programming and Scripting
Hello,
I ran into an issue in one of my monitoring scripts. If I use the public ip address in my connection string everything works, but if I switch the connection string ip to 127.0.0.1 or the internal ip I get, " Connection refused at... (1 Reply)
Discussion started by: Styles
1 Replies
5. Shell Programming and Scripting
i=1
while
do
mm=02
dd=03
yy=2008
echo "$mm$dd$yy"
i=$(( i+1))
echo "$i"
done
whenever i execute the script above i will get the error below:
syntax error at line 30: `i=$' unexpected (3 Replies)
Discussion started by: filthymonk
3 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to echo a variable that has values separated by colons, putting each value on a new line. So as an example, a variable I might have would contain:
My name is Earl:My name is Dorothy:My name is Bernard:
And I want the output:
My name is Earl
My name is Dorothy
My name... (5 Replies)
Discussion started by: michaeltravisuk
5 Replies
7. Shell Programming and Scripting
Hi all ,
In order to zip the file ...
first we need to use TAR and then GZIP on the TAR file .....
Is there any other method for zipping the files directly as in windows ( winzip )
Regards,
Dhananjay (3 Replies)
Discussion started by: dhananjayk
3 Replies