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.
batch files in Unix from Telnet
Name: pmsarosi Date: June 15, 2004 at 10:34:52 Pacific OS: Unix CPU/Ram: Mac computer
Comment:
I need a batch file that contains input data from a program that asks for this data using multiple prompts. So I guess I just need the initial line or two that starts the ball rolling.
E.g. One line from the program asks for three inputs (1 1 2 say) then you hit enter and the next line asks for one input (10 say) an so on I can have all the data in one batch file.
P.S. I am very new to this. It is my first time using Unix etc.
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...