My script has following line and output
But I need following output that I need custtype information between "" like
There is no constant value length for custtype.
So is there any solution within awk/sed or any command?
Hi All,
Could you please help to get the below output:
Input:
J1,ELLA_1,ISDR,JJK,TRS
J2,ROSTER,JACK
J3,HUP
...
...
...
Output:
J1,ELLA_1
J1,ISDR
J1,JJK
J1,TRS (3 Replies)
Hi
I need to do this thing in awk (or perl?). I try to find out how can I identify 1st and 2nd result from the OR expression in gensub:
block='title Sata Mandriva
kernel /boot/vmlinuz
initrd /boot/initrd.img'
echo "$block" | awk '{ x=gensub(/(kernel|initrd) /,"\\1XXX","g"); print x }'
... (12 Replies)
Hi,
I'm newbie in this forum and I already searched regarding Merge multiline into singleline but I always found different result which is I don't want it like i want.
Here is the data that i have it:
*** ALARM 711 A1/BTS "MAD08B1 08ACPA0"U 090604 1040
RADIO X-CEIVER ADMINISTRATION
BTS... (5 Replies)
Can anyone help it out,
My Requirement:
Actually i grep for the items in the atrblist (Result of it will provide the line where the item present and also the next line of where it presents)then it will be stored in $i.txt
From tat result i wil grep 2nd word after getdate() word and store... (2 Replies)
I have to solve a programming problem for my wife who is engaged in Research in Breast Cancer.
1. She has frequently to search a long single line of alphabetic characters (lower case) for an exact match of a string.
e.g.... (4 Replies)