lenjturnbull
MIS
I have inserted text in a line with no problem
but i am lost when trying to put a variable example (A$) in a line of a file
example
perl -i.tmp -p -e 'print "$A$\n" if /THR/' $file.tmp
the line show up blank but inserted before THR
the variable is loaded right before this line of code.
any help
Thanks,
Len
but i am lost when trying to put a variable example (A$) in a line of a file
example
perl -i.tmp -p -e 'print "$A$\n" if /THR/' $file.tmp
the line show up blank but inserted before THR
the variable is loaded right before this line of code.
any help
Thanks,
Len