Internal Quotes will have to be escaped and external quotes changed to be double-quotes for Windows.perl -ne '$h{$1}=$2 for /(\w+)="([^"]*)"/g}{print qq($_\t= $h{$_}\n) f +or qw(id name)' myfile.txt id = 437 name = Bob
When in doubt, mumble; when in trouble, delegate; when in charge, ponder. -- James H. Boren
In reply to Re: how to deal with newline
by NetWallah
in thread how to deal with newline
by nvdierdo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |