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

Re: RFC: YADA: Yet Another Debianisation Aid



On 28/04, Antti-Juhani Kaijanaho wrote:
| On Wed, Apr 28, 1999 at 04:31:53PM +0200, Samuel Tardieu wrote:
| >  .          => empty line
| >  ..         => line with only '.' on it
| >  .something => .something
| 
| How can you encode a line with only ".." in it with this scheme?

:-) Well caught :)

Let's say: (PCRE format)

  /^$/            => empty line, package separator
  /^\.(\.*)$/     => $1
  /^(.*[^\.].*)$/ => $1

 Sam


Reply to: