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.
store a line from file in variable
Name: Raxit Date: February 28, 2003 at 11:20:08 Pacific OS: hpux CPU/Ram: 200
Comment:
hi, i need to pick up a line from a file and store it in a variable.i dont know the number of lines that the file contains...so i cannot specify it by a linenumber. i need to continue this till the last line of the file. so i think it has to be proabably some type of a loop. please help thanks
Summary: Hi, I want to read a file in a C shell script and process all the words of each line as a command set. something like this read line from file get the first word from line and assign it to a var...
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...
Summary: I'm trying to remove a specific line from a file based on a user defined input. I had found a similar situation where sed was used, but when I tried using it in my script, sed had trouble with the...