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.
About Shell script - Need help
Name: edyhui Date: November 25, 2003 at 18:01:59 Pacific OS: Unix CPU/Ram: --
Comment:
I'm completely new to shell programming. As this is quite urgent, please offer your help. Thanks a lot!
If there is a text file which contains: 1. Amt = 1000 Date = 01012003 ========================= 2. Amt = 500 Date = 11012002 ========================= 3. .. === etc... How to use shell script to read it line by line and write the every records into each individual text files?
Name: edyhui Date: November 26, 2003 at 17:26:15 Pacific
Reply:
Those individual text files contain every records from the input text file. In other words, the script is to capture each record and save it into a text file. If the input file contains 3 records, there should be 3 text files and each file contains 1 record. Thanks in advance!
Summary: Hi, I'm running out of time and my shell script needs to: a)The user must be prmpted for the name of a directory containing some files. b) If files of form *.src exist in the directory, they must be c...
Summary: hi, i have an entry: FileName=/home/mqm/adr10098/sample.dat in a file. I want to open this file, search for "FileName=" and then replace the value with someother value(eg: /home/mqm/adr10098/another.d...
Summary: Hi guys, i have a file inside file file name are stored 1 filename per line i want to open the file and read each line from the file and process it...how should i do it in shell script...your help wil...