Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
K-shell script argument
Name: pj_elia Date: May 21, 2003 at 09:57:08 Pacific OS: HPUX 11.0 CPU/Ram: 400/1000
Comment:
I need to do and IF statement that checks to see if a variable contains a particular value. ex. x=redcars. IF x contains "car" do whatever.
Thanks for the help. I've been trying to figure this out for awhile.
Summary: Hi, I need to extract messages from a log file between two known character strings "eyecatchers". what could be the logic to do this using only k shell script commands? TIA aj ...
Summary: hi , I have a problem in Korn shell script(in dtksh) my program is like that...... #!/usr/dt/bin/dtksh awk ' BEGIN { FS = ":"; # print '$1','$2','$3' cmdargs = '$#' } { if( cmdargs == 3) {...
Summary: I need help on writing 2 shell scripts: 1) Write a shell script, to be called `keep', that will take any number of file names as arguments. It should remove all files from the current directory...