Search Results

Search: Posts Made By: nit42
2,827
Posted By MadeInGermany
To also fulfill your earlier requirement, here is...
To also fulfill your earlier requirement, here is an addon that also joins multiple <seg> values:
perl -lne 'm#pName="vin"# and @dt=m#dateTime="(.*?)"# and @mis=m#mis>(.*?)</.*?mis>#g and...
2,827
Posted By MadeInGermany
It's all doable in perl. perl -lne...
It's all doable in perl.
perl -lne 'm#pName="vin"# and @dt=m#dateTime="(.*?)"# and @mis=m#mis>(.*?)</.*?mis>#g and print $dt[0], " , ", join(" & ", @mis)' temp2.txtOne can store the output of a...
2,827
Posted By bakunin
That is not the reason at all. In fact you should...
That is not the reason at all. In fact you should read about (POSIX basic) regular expressions, because you obviously don't correctly understand how they work:

The asterisk ("*") makes the...
Showing results 1 to 3 of 3

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