Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

pKai's scratchpad

by pKai (Priest)
on Dec 24, 2005 at 21:54 UTC ( [id://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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found