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

Re: Fixing #185014 (cdebconf mangles consecutive spaces)



tis 2003-04-08 klockan 12.18 skrev Denis Barbier:
> But frankly you should replace spaces by no-break spaces in order for
> them not to be mangled (or escape them with \s if you prefer), I doubt
> that you will find a safer solution.

I just don't see why the individual commands cannot decide which parts
of their command lines that are space sensitive and which are not...
I.e. every command is responsible for parsing their command line. What I
want to mimic is to be able to say
  debconf->subst(debconf, "VAR", "..... . .    ... ... . .")
I.e. with a *decent* API and a *decent* backend<->frontend protocol,
this would be a non-issue. However, the protocol is fixed, and the API
isn't helping :P so I'll settle for my solution.


/Martin
-- 
Martin Sjögren
  sjogren@debian.org -- marvin@dum.chalmers.se
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: