zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: printf builtin
Date: Fri, 21 Sep 2001 14:42:51 +0000	[thread overview]
Message-ID: <1010921144251.ZM17719@candle.brasslantern.com> (raw)
In-Reply-To: <3BAB1D55.8258B237@yahoo.co.uk>

On Sep 21, 11:58am, Oliver Kiddle wrote:
}
} I'll put the ksh print -f functionality on my todo list though. It makes
} sense to combine the -b, -m, -s, -o, -O, -i, -u, -p, -z, -D and -P
} options with -f. -r, -R, -n, -l, -N and -c would make no sense to
} combine. -l and -N would be fairly redundant because it would be better
} to use a format of "%s\n" or "%s\0" so they should perhaps then be
} declared obsolete. -P (and maybe -D) is also perhaps slightly
} unfortunate because a %P format specification might be better.

This all sounds fine except that I don't see any reason to declare any of
the existing options obsolete.

There is a bit of an issue with respect to combining with -s and -z, as
those at present imply -n, and -z also implies -r; the question is what
to do with trailing newlines if they appear in the format string.

(This'll be my last message until late Sunday, as I'm off to a wedding in
Yosemite National Park.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-09-21 14:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-20 19:10 Oliver Kiddle
2001-09-20 20:33 ` Bart Schaefer
2001-09-21 10:58   ` Oliver Kiddle
2001-09-21 14:42     ` Bart Schaefer [this message]
2001-09-21 14:55 ` Peter Stephenson
2001-09-21 16:13   ` Oliver Kiddle
2001-09-21 17:10     ` Peter Stephenson
2001-09-24  4:42     ` print -z (Re: PATCH: printf builtin) Bart Schaefer
2001-09-24  9:18       ` Peter Stephenson
2001-09-24 16:41         ` PATCH (docs): " Bart Schaefer
2001-09-24 10:50   ` PATCH: printf builtin Peter Stephenson
2001-09-25 17:17     ` Oliver Kiddle
2001-09-25 17:57       ` Peter Stephenson
2001-10-05 14:54     ` Oliver Kiddle
2001-10-05 17:03       ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1010921144251.ZM17719@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).