S
s/war/peace/g;
I'm in the midst of writing a ksh script. I've got a file of junk I
need to manipulate with some hash magic in perl, but I'm trying to keep
the perl code encapsulated in my ksh script. I'm trying to do
something like this...
perl -e 'magic' -i file
But I want the magic to look more like...
perl -e <<EOF
magic
EOF
-i file
This way the code is not cryptic. So far I can not seem to make this
work... am I on crack for thinking I should be able to do something
like this? Any suggestions?
need to manipulate with some hash magic in perl, but I'm trying to keep
the perl code encapsulated in my ksh script. I'm trying to do
something like this...
perl -e 'magic' -i file
But I want the magic to look more like...
perl -e <<EOF
magic
EOF
-i file
This way the code is not cryptic. So far I can not seem to make this
work... am I on crack for thinking I should be able to do something
like this? Any suggestions?