No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have comma seperated values in a flat file, example below: [B]RStndrd,Mer,1902 PAR GRN,ParentGroup,[/B] I am interested in getting the third parameter from above, ([B]1902 PAR GRN[/B]) in a variable called MyID...i am using the command below to get the third variable [B]MyID=`echo $line|cut -f3 -d ","`[/B] but using the … |
|
Hello everyone! Below is a sample flat file (sampleflatfile.dat) i have on UNIX: [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]ALPEnt,4516,AllMember,Unknown,DateRange,20070411,20070419,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]AGLT,2156,Summary,Unknown,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]DUPP,2536,Yes,Unknown,[/COLOR] each line above represents a report to be generated...therefore, the content of the sample flat file above means we need 4 reports (because there are 4 line)... the file above … |
|
[COLOR=#000000]Hi Code gurus!!...my first post in this forums and I m new to shell scripting too!...I need a shell script to accomplish the below, any input will be greatly appreciated..[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]Below is a sample content of a text file, [B]file1.txt[/B][/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] … |