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.
parsing using Korn
Name: alimad Date: March 30, 2007 at 14:49:58 Pacific OS: Windows xp CPU/Ram: 526 Product: Toshiba
Comment:
Hi, I need to know the best way to parse a textfile that contains the following text
00010000001M 00010000001Q 00040000001M
I would like to parse the first 8 characters and store it in a variable , then the next 3 characters and store it in a variable and so on and so forth, then loop to the next line. Can i do that in Korn?
Summary: Is there a way I could randomly generate numbers from a specific list only say choose randomly from this set(1,15,20) or a range say choose any number between (10 and 100. I'm using korn.. Thanks ...
Summary: Hi all, I am a very new user for korn scripting and in a process of learning. i have a .bat file that calls a .vbs file which calls a macro used to convert an excel spread sheet to .csv file... Now i ...
Summary: Hi, I have been trying to get the PS1 into a personal format, I use Korn shell. What I am trying is for the PS1 to only show the last two directories. I got that right, the problem is that on...