The above commad run against 450 files. I would also like to print the input_file_name which is being processed inside the perl code. how to get that?perl -nle '/TABLE;(.*)/?($t=$1):/COLUMN;([^;]*)/&&print(qq{$t.$1})' *
In reply to how to get the input file name when perl script runs from the command line? by greatshots
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |