Search Results

Search: Posts Made By: suvendu4urs
1,079
Posted By Skrynesaver
perl -ne 'print "$1\n" if /((?:ROW|COLUMN)_\w+)/'...
perl -ne 'print "$1\n" if /((?:ROW|COLUMN)_\w+)/' $filename
1,748
Posted By balajesuri
perl -lne '$x=" "; /(crash_report_\d+)/ && ($x =...
perl -lne '$x=" "; /(crash_report_\d+)/ && ($x = "$1 "); while(/(generate_check_\d+)/g){ $x .= "$1 " }; ($x !~ /^\s+$/) && print $x' file
1,748
Posted By Yoda
Yes, you can search for records containing...
Yes, you can search for records containing pattern: crash_report & generate_check and work only on them:
awk -F'=' '/crash_report/ && /generate_check/ {gsub(/"|&#xA\;&#xA\;.*|&#xA\;/,OFS,$3);sub(/^...
1,748
Posted By Jotne
awk -F"\"|&#xA\;" '{print $4,$5}' xmlfile ...
awk -F"\"|&#xA\;" '{print $4,$5}' xmlfile
crash_report_0013 generate_check_0020 generate_check_0022
crash_report_1001 generate_check_1001 generate_check_102 generate_check_0050
crash_report_4211...
1,748
Posted By balajesuri
perl -ne '/(crash_report_\d+)/ && print "$1 ";...
perl -ne '/(crash_report_\d+)/ && print "$1 "; while(/(generate_check_\d+)/g){print "$1 "}; print "\n"' file
1,748
Posted By Yoda
awk -F'='...
awk -F'=' '{gsub(/"|\&#xA\;\&#xA\;.*|\&#xA\;/,OFS,$3);sub(/^ /,X,$3);$0=$3}1' file
4,857
Posted By balajesuri
Give it a try, suvendu4urs. Take a look at the...
Give it a try, suvendu4urs. Take a look at the sample program for WriteExcel in CPAN (http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.38/lib/Spreadsheet/WriteExcel.pm). Let us know what...
832
Posted By Don Cragun
Your example is incomplete and a little vague. ...
Your example is incomplete and a little vague. If I've guessed correctly at what you want, the awk script below may do what you want:
awk '
/^HLD_EA/ {
if(out) print out
out = $0...
4,857
Posted By balajesuri
Please show us your attempts at the solution.
Please show us your attempts at the solution.
4,857
Posted By balajesuri
grep "documentation" file | grep -o -E...
grep "documentation" file | grep -o -E "HLD_[0-9a-zA-Z_]+"
4,857
Posted By balajesuri
perl -ne 'if...
perl -ne 'if (/documentation/){while(/(HLD_\w+)/g){print "$1"};print "\n"}' file

And yes, you may use Spreadsheet::WriteExcel module to write to an xls file.
Showing results 1 to 11 of 11

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