Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

pKai's scratchpad

by pKai (Priest)
on Dec 24, 2005 at 21:54 UTC ( #518943=scratchpad: print w/ replies, xml ) Need Help??

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\WINDOWS\system32>dir /temp Parameterformat nicht korrekt - "emp". C:\WINDOWS\system32>dir "/temp" Datenträger in Laufwerk C: ist System Volumeseriennummer: C40F-90D7 Verzeichnis von C:\temp ... 1 Datei(en) 29.406 Bytes 1 Verzeichnis(se), 3.351.207.936 Bytes frei C:\WINDOWS\system32>cd /temp Das System kann den angegebenen Pfad nicht finden. C:\WINDOWS\system32>cd "/temp" Das System kann den angegebenen Pfad nicht finden. C:\WINDOWS\system32>cd "c:/temp" Das System kann den angegebenen Pfad nicht finden. C:\WINDOWS\system32>cd "../../temp" C:\temp>

For Intrepid, wrt "usespipe":

The code

doskey usespipe=set ^| perl -npe "s/^/|/"

(Changed: Caret is not special inside quotes.)

was a reply to your homenode's chapter headed "For MSWin-user Monks"

You have some informations on using doskey there, and you give the caveat

  • It is apparently not possible to use a pipe symbol (not || but | ) in the Perl code. If anyone finds out otherwise then let me know.

My doskey macro definition above uses the pipe inside the perl code (no problem anyway since it's quoted), and outside in the plain command definition.

For the latter, the pipe has to be escaped (^). That was the whole point of my message.


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-12-27 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (176 votes), past polls