Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: problems with backreference

by norbert.csongradi (Beadle)
on Sep 06, 2011 at 14:21 UTC ( #924408=note: print w/ replies, xml ) Need Help??


in reply to problems with backreference

Please give some info about how you send it over SSH, there should be some problem there (in shell escapes I think)

This should be better to send over SSH (not tested!):

ssh user@host 'perl -pi -e "s/^(ISA~.*?~.*?~.*?~.*?~.*?~.*?~.*?~)(.... +......)(....).(~.*)\$/\\1\\20\\3\\4/"'

Double escapes of \ chars become one backslash on the remote side, no need to escape tilde. Anyway, better to see your version still.


Comment on Re: problems with backreference
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924408]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-12-25 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls