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: Hi, I have a large xml file which starts with <tele> and ends with </tele> in various occurrences. How can I cplit this file into small files.I...
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: 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: Hi I need to get the name (only name) of the last updated file or directory in an existing folder and store it in a variable. Thanks in advance. ...
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: Oops!! Error is sed: can't read x_new.log: No such file or directory sed: can't read x_new.log: No such file or directory sed: can't read x_new.log: N...
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: I have a script file, where I wrote:'VAR1=7; export VAR1'. Now, I'm programming in Tcl. I need the variable VAR1 to be loaded from the script file, ...
Summary: Hi Gurus, I use below script to add header and trailer to files in a folder. When executed, it is removing the " of 4.5 & yyy.xsd from the header. Ca...
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: I would like to subtract a single value to a file using awk. It has been quite difficult to figure out how ? What I wanted to do is : I have a file th...
Summary: Hi, I have a file which has data as path/aa1.txt path/aa2.txt,...(each in separate lines) I want a unix script to sort this file in order. It is not w...
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: Hi.. Thanks for your response!! I was already trying with the EOT to disonnect from DB in my script but i do get syntax error. I've just pasted with t...
Summary: Hi, I have a file which has lines as follows. /dev/udb/raw305 /dev/udb/raw306 /dev/udb/raw307 Now i want these lines to be edited as DEVICE '/dev/udb/...
Summary: Hi frnds, I donno if I amputting in the rt forum or not.But i am trying to get a week number from a given date. This code by a member on computing....
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: I need a script to strip part of the filenames. I have a mainframe background, so this unix stuff is so new to me. I can do it with many lines of co...