Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: remember perl one-liners

by tinita (Parson)
on Dec 11, 2005 at 14:37 UTC ( #515841=note: print w/replies, xml ) Need Help??


in reply to Re: remember perl one-liners
in thread remember perl one-liners

that's why i put the word in quotes, yeah.

for the record: i can't get this to work with two-to-ten-liners (history breaks each line up into one single command). any bash experts around?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://515841]
help
Chatterbox?
[Discipulus]: why perl -e 'print q(\'a string\'),"\n"' gives -bash: syntax error near unexpected token `)' ??
[Discipulus]: i'm not escaping correctly?
[moritz]: Discipulus] iirc bash doesn't let you escape ' with \
[moritz]: not inside a single-qouted string at least
[moritz]: echo 'a'\''

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2017-11-24 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (346 votes). Check out past polls.

    Notices?