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 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: Sorry, but I just don't have the time to this as it will take a lot of parsing and date arithmetic. Date arithmetic in Unix - especially at the minut...
Summary: hi, i would like to count the occurence of a character in a string using sed, any idea? e.g. count the no of ';' in 'abc;def;ghi;jkl' returns 3. Than...
Summary: Possibly a text editor than can search for the instances of <tele> and </tele>, then save each one off as file1.xml, file2.xml, etc. Then recom...
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: 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: 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 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: 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 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: 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...
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: 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: 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: 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 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: 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...