Summary: Hi All, I have two files file1: abc,def,ghi,5,jkl,mno pqr,stu,ghi,10,vwx,xyz cba,ust,ihg,4,cdu,oqw file2: ravi,def,kishore ramu,ust,krishna joseph,stu...
Summary: The above is likely the correct way to do it....only I believe you would want the file to copy text from to be "output.out" if that is the name of the...
Summary: Hi, I have two files which have text as follows file1 a b c file 2 a 96.5 b 93.2 c 92.1 d 97.3 Now i want to search all the strings in file 1 and ...
Summary: I'm wondering of how to write a script, which would be run only once. It probably cannot harm (a lot) to run it twice, but better is to prevent runnin...
Summary: Hi But how would I check the latest empty folder and non empty folder. I need to write a scrip, first to check the non empty folder and copy files fro...
Summary: Need to parse a file in this way: The file is a multi-line flatfile, containing whitespace separated keywords, ex. one two three four five six seven e...
Summary: Hi There. I am running a unix script that ftp's into an as/400 i-series server and downloads files into a unix filesystem. These files are all suffix...
Summary: If I have a file (in this example, we'll call it junk.file) with one field and that field has the value of ls, then all I have to do to run the ls com...
Summary: There is a process writing to LOG_FILE_NEW. The following is a piece of code to rename LOG_FILE_NEW to LOG_FILE once you get a result (either RUNNING ...
Summary: Can u help me out pls. I need to pass the parameter in batch file which contain on SQL file. my.sql file has : conn system/orcl1012#@orcl10 create use...
Summary: The decimals are the hardest part, since maths on unix tend to be non-decimal based. Let's start with non-decimals: You can get the values of those le...
Summary: If you are sure of your data, delete 2 from field 1. I do not understand the significance of the period. Well, setting FS and OFS to the period will...
Summary: I am new to Unix and working on some simple shell scripts..Q. Create a script file that sums the numbers passed to it as arguments on the command ...
Summary: My file has values like below and I want 101 after 100.Tried "<" but no luck. (: /home/dd/1/1.xml /home/dd/1/10.xml /home/dd/1/100.xml /home/dd/1/1...
Summary: i deleted a route in routing table using route delete.. its deletes the route.. bt yet again when i use netstat to see the routing table its still th...
Summary: sometimes, things can be done very simply. Just read the file line by line, print out the necessary things you want. No need to use sed and waste tim...
Summary: Hi All, I want a shell script which need to monitor the log file and take the last 10 min update data and put it into a file. Please help me, Please ...
Summary: Hi I try to add file name in end of the line of every row.Its work one file. but same code is not work other same type of file File Data: A,VF-NL...
Summary: I need a help from you. i am new to shell scripting. please help on this script. i want a script monitor the log file and take the last 10 min update ...
Summary: Hi Gurus this is working finee with tested values #!/bin/ksh V_DATE="2007-11-30" V_ID=789 V_NAME="john_${V_ID}_has_${V_DATE}_s" FILE_NAME=`echo ${V_NA...
Summary: Hi: The internal awk command gsub function , substitutue globally function, returns the number of substutuions made. I'm using Solaris nawk: #!/bin/ks...
Summary: The problem is that you need to figure out if the week of January 1st is less than 7 days long. I'm tired and could probably do this cleaner, but I s...
Summary: How to disconnect DB connectivity in a UNIX script. I have connected to a DB using sqlplus command in UNIX shell script. I need to know how to check t...