Quote:
Originally Posted by matrixmadhan
Sorry,
I mistook input pattern as 'xxxx' and hard coded it in awk.
So, what is the output you expect in the sample you had posted recently ?
HI Madan,
Thanks for your time.Here is the pattern i'm looking for.
Input:
asdasd|asdas|fsdfds|fsdfsd|dgsdfgfsdg|&&^**^(
^*(*(
asdhgasd|ashakljas|ffasdfdsf|Fsfsdfsdf|dfsdfds|&^&*
&^&*^07^%
fksdljflsdkj|lkjjklsd|dflkshjfklsd|sdfjkhsdlf|alfkfhsd|&*^&
*%^*&
ajskfhsdkjfh|sdfjklhsdkfj|sdfjklhsd|sdfjsdfhsd|asjhsdf|&^%#@^@
sdfsdfFSDF|SDFJKHFSDJ|wfhywufihwf|wfohfsd|fsduofhsdf|^&$^%#$#!!&@@
fasdjkgsdfh|fujghsdfjsd|skjfsd|dlskfhlsdjkf|sdjfklsdhf|$#%!
&^%!
Ouput:
asdasd|asdas|fsdfds|fsdfsd|dgsdfgfsdg|&&^**^(^*(*(
asdhgasd|ashakljas|ffasdfdsf|Fsfsdfsdf|dfsdfds|&^&*&^&*^07^%
fksdljflsdkj|lkjjklsd|dflkshjfklsd|sdfjkhsdlf|alfkfhsd|&*^&*%^*&
ajskfhsdkjfh|sdfjklhsdkfj|sdfjklhsd|sdfjsdfhsd|asjhsdf|&^%#@^@
sdfsdfFSDF|SDFJKHFSDJ|wfhywufihwf|wfohfsd|fsduofhsdf|^&$^%#$#!!&@@
fasdjkgsdfh|fujghsdfjsd|skjfsd|dlskfhlsdjkf|sdjfklsdhf|$#%!&^%!