Search Results

Search: Posts Made By: adisky123
1,587
Posted By RudiC
Well, you could of course go ahead and ask the...
Well, you could of course go ahead and ask the forum every single question that comes to your mind. I am, though, not sure if that would make the best use of your time - and our's.
cf. your last...
1,399
Posted By balajesuri
perl -ne...
perl -ne '(/<NAME>(.+?)<\/NAME><STANDARD>X12<\/STANDARD>/) && print "$1 ---- "; (/<NAME>NextEnvelope<\/NAME><VALUE>(.+?)<\/VALUE>/) && print "$1\n"' file

or

perl -ne...
9,698
Posted By balajesuri
You need to strip the "|$rec" component off the...
You need to strip the "|$rec" component off the hash key. You can use something like this in the final for-loop: s/\|\d+$//
2,710
Posted By Scott
@Adhi, click on: UNIX for Dummies Questions...
@Adhi, click on:

UNIX for Dummies Questions & Answers - The UNIX and Linux Forums (https://www.unix.com/unix-dummies-questions-answers/)

Then click the big button that says:
...
2,436
Posted By Ygor
In bash, variables are local to pipes. ...
In bash, variables are local to pipes.

Replacecat file | while read line
do
:
done
Withwhile read line
do
:
done < file
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy