Summary: Even though at home I have both a Solaris and Linux box, almost everything I do is on my Windows box (one of these days I'll get smart and reverse th...
Summary: Hi, Can i get the equivalent perl script for the following unix command? cat a1prefix01 | sed -e 's/ //g' -e 's/\.|/|/g' -e 's/|?/|/g' > a1_coremat.tm...
Summary: Hi, I have a perl script that is almost complete. I just need to replace ,, with ,'',. I basically need two single quotes in place of an empty field...
Summary: I need a perl script to open a file in a directory, search for a string, then print the next line after the searched string and close the file. does ...
Summary: Perl script mvname to rename a group of files. Perl script..finds each line in a file that contains a specified string. script should print the resu...
Summary: Hi, I was wondering if anybody knew how to make a shell script that will make a backup of a file example (mv out out.bak) but the next time you run th...
Summary: Greetings! Does anyone know of a utility or a script for renaming files on a UNIX web server? I've seen several of these types of renaming utilities ...
Summary: Hi. I am a beginner on scripting. I will write a shell script for string encryption/decryption. the script will take 3 parameters. First one will be a...
Summary: Can anybody help in writing a perl script that finds each line in a file that contains a specified string. I asked not apply grep to the whole file bu...
Summary: Sorry about the delay, work got busy, fast. But here is the solution. For your reference. $FILE is the file where the info is stored and $NEWDIR is t...
Summary: hello, every body , i need a script for login to a router by taking USER and PASSWORD from the script itself(i.e automate login).It is possible or any...
Summary: I am a beginner of shell scripts. I need help in writing a script for replacing duplicate of multiple lines in a list of files in a directory with so...
Summary: Hi All, My SUn UNIX doesn't support "-i" option for sed which edits file in place I don't want to use intermidiate temp file to delete lines from file...
Summary: Hi, I need to write a script for export/import job in oracle. I should be able to give instance name as a parameter while performing export. I also be...
Summary: hi, I needed to clarify that I wanted a perl script to read annotations of two .embl files and identify the tags that are the same in the two files he...
Summary: I am using the following command in my perl script for making the connectioon to the oracle database, my $dbh = DBI->connect('DBI:Oracle:dbname','gori...
Summary: William is right. Unless you are working under the contraints of homework, no one uses csh for scripting because it works poorly. #!/bin/ksh rm /tmp/d...
Summary: how any one can write SED script for following requirement? Test1.text file has following data : Che is CLA and XP is //event[tag = cast and line = 29...
Summary: Hello, Can I use sed scripts, for ex: sed -f script filename > newfilename. where script file is : diff -e <my version> <production version> ...
Summary: Hi! As the subject says, I'd like to add a " /" to the end of a line containing a specific keyword. For instance: in.txt: a=1,b=2,c=3 d=4,keyword=5,f=...
Summary: Nails, It worked like a charm. Thanks for the response. Now as i am new to shell scripting and sed itself, i guess you don't mind helping me on this o...
Summary: I think David's script does what you want, but the statement: $file=`basename $file` needs to have the leading $ removed. His script does not care if ...
Summary: Some explanations about the script -F "=" Set the internal awk variable FS to "=".,this specify the field separator value. NF >= 2 { . . . . } Select...