[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic dist?
From: |
Bob Proulx |
Subject: |
Re: dynamic dist? |
Date: |
Sun, 23 Apr 2006 09:35:23 -0600 |
User-agent: |
Mutt/1.5.9i |
Ralf Wildenhues wrote:
> Tyler MacDonald writes:
> > OK, so I might need something more portable than cpio... but the
> >"\s.*" part does serve a purpose; the MANIFEST file format allows for a
> >description of the file after whitespace. I guess I could do "[ \t]" or
> >something else instead of the \s.
>
> Ah, I didn't think of that. You cannot use \t either, but using a literal
> TAB inside the brackets works portably AFAIK.
If you consider POSIX systems as being portable enough then using
the [:space:] character class should work pretty well.
s,[[:space:]].*,,
Bob
- dynamic dist?, Tyler MacDonald, 2006/04/20
- Re: dynamic dist?, Tyler MacDonald, 2006/04/20
- Re: dynamic dist?, Ralf Wildenhues, 2006/04/22
- Re: dynamic dist?, Tyler MacDonald, 2006/04/22
- Re: dynamic dist?, Ralf Wildenhues, 2006/04/22
- Re: dynamic dist?,
Bob Proulx <=
- Re: dynamic dist?, Ralf Wildenhues, 2006/04/23
- Re: dynamic dist?, Bob Proulx, 2006/04/23
- Re: dynamic dist?, Russ Allbery, 2006/04/23
- Re: dynamic dist?, Ralf Wildenhues, 2006/04/24