gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Escaping utilities (Was: Re: Trying out the new escapin


From: Jan Hudec
Subject: [Gnu-arch-users] Escaping utilities (Was: Re: Trying out the new escaping version...)
Date: Thu, 18 Mar 2004 18:57:50 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

On Thu, Mar 18, 2004 at 09:21:19 -0800, Tom Lord wrote:
> Have you considered the idea of writing a 10 line program that reads
> newline separated Pika-quoted strings from stdin and writes
> 0-separated unquoted strings to stdout?

The tools are comited:

    pxrun: Will unescape all but the first argument and exec the
           resulting list. So eg: pxrun tla add <escaped-filename>
    px0: Will convert tla's output to format appropriate for xargs -0
    pxargs: Almost the same as px0 | xargs -0 -l1. The almost means that
            unlike px0 it WILL split on space (hence the -l1 and not
            -n1).
    
All three use common Tlaesc.pm, that implements the unquoting routine.
It has to be placed in perl's @INC or in the same directory as the px*
scripts.

Archive-Location: http://www.ucw.cz/~bulb/{archives}/pub-1
Revision: address@hidden/tlacontrib--bulb--1.2--patch-32

Please, consider mergeing in official tlacontrib.

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec 
<address@hidden>

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]