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.
read input file variables
Name: Robert Pearson Date: September 4, 2003 at 08:05:40 Pacific OS: Mandrake 7.2 CPU/Ram: 400mhz / 128
Comment:
I need to read a specific part of an input file and assign the data as variables until it reaches the "END". So, for captain coke, I need rum, 2, coke, and 4 as seperate variables.
I realize that I should probably be doing this in MySQL or other DB, but I am trying to keep from getting extremely overwhelmed at this point.
0001 captain coke rum 2 coke 4 END 0002 dirty martini vodka 3 olive_juice .25 vermouth .25 END 0003 vodka sour vodka 2 sour 4 END
Summary: It's been a while since I wrote a script, so I thought I would ask for help. Here is my dilemma. I want to write a script that will do the following: 1.) Read in a text file (in this file, on each ...
Summary: thanks for reply, but I do that.My problem is: Oracle(installed on Solaris) don't read the files because this is in win ascii format.There is a way, in pl/sql, to transform the files from win ascii fo...
Summary: How do i read binary files in Unix and as i know that counting the number of records in a file could be done using WC command, but how to use it for counting the number of records inside a binary file...