From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <55AFB307.6060706@gmx.de> Date: Wed, 22 Jul 2015 17:13:11 +0200 From: Friedrich Psiorz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Plumbing - Files with spaces Topicbox-Message-UUID: 6177eea6-ead9-11e9-9d60-3106f5b1d025 You can change your lib/plumbing file. If you add a space to the regular expressions in the 'matches' rules it should work. Maybe you will need to have two rules, one for making simple right clicking without selection work in acme (no spaces in the regexp) and the other (with spaces) to be able to select the exact filename, and plumb it, even if it has spaces. Like so: type=C3=82 =C3=82 =C3=82 is=C3=82 =C3=82 =C3=82 text data=C3=82 =C3=82 =C3=82 matches=C3=82 =C3=82 =C3=82 '[a-zA-Z=C3=82=C2=A1= -=C3=AF=C2=BF=C2=BF0-9_\-./]+' data=C3=82 =C3=82 =C3=82 matches=C3=82 =C3=82 =C3=82=20 '([a-zA-Z=C3=82=C2=A1-=C3=AF=C2=BF=C2=BF0-9_\-./]+)\.(ps|PS|eps|EPS|pdf|P= DF|dvi|DVI)' arg=C3=82 =C3=82 =C3=82 isfile=C3=82 =C3=82 =C3=82 $0 plumb=C3=82 =C3=82 =C3=82 to=C3=82 =C3=82 =C3=82 postscript plumb=C3=82 =C3=82 =C3=82 start=C3=82 =C3=82 =C3=82 9 page $file type=C3=82 =C3=82 =C3=82 is=C3=82 =C3=82 =C3=82 text data=C3=82 =C3=82 =C3=82 matches=C3=82 =C3=82 =C3=82 '[a-zA-Z=C3=82=C2=A1= -=C3=AF=C2=BF=C2=BF0-9_\-./ ]+' data=C3=82 =C3=82 =C3=82 matches=C3=82 =C3=82 =C3=82 '([a-zA-Z=C3=82=C2= =A1-=C3=AF=C2=BF=C2=BF0-9_\-./ ]+)\.(ps|PS|eps|EPS|pdf|PDF|dvi|DVI)' arg=C3=82 =C3=82 =C3=82 isfile=C3=82 =C3=82 =C3=82 $0 plumb=C3=82 =C3=82 =C3=82 to=C3=82 =C3=82 =C3=82 postscript plumb=C3=82 =C3=82 =C3=82 start=C3=82 =C3=82 =C3=82 9 page $file I haven't tried this though. -Fritz Am 22.07.2015 um 15:20 schrieb Eduardo Alvarez: > Hello, all, > > I've recently been introduced to plan9port, and have been fiddling > about with the plumber. As a test, I tried using the plumber to open > several different files wherever I specified. I noticed, however, that > I was unable to plumb files whose names had spaces in them. A search > on google on the subject threw as the only solution "use shorter > filenames". Fair enough, but I wanted to know if this is a limitation > of the plumber itself, or if the regular expressions used can > accomodate for spaces. > > Regards, > > Eduardo Alvarez