zsh-workers
 help / color / mirror / code / Atom feed
From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@sunsite.auc.dk
Subject: POSIX (Was: PATCH: "sh" job control)
Date: 1 Oct 1999 01:41:36 GMT	[thread overview]
Message-ID: <slrn7v84ag.fe4.mason@coral.primenet.com.au> (raw)
In-Reply-To: <19990930110741.B13153@dman.com>

Clint Adams <schizo@debian.org> typed:
:> I think CHECK_JOBS (with the opposite sense) would be a better name.
:I think that's reasonable.
:> Btw, you put SH_JOB_CONTROL out of alphabetical sequence.

:Ah, yes.  I was mentally inserting spaces between the words.
:> What does POSIX say about it?

On the topic of POSIX:
% touch asdasd; chmod 755 asdasd
% ./asdasd ; echo $?
zsh: exec format error: ./asdasd
1	# <-- POSIX says 126
% ./foobar
zsh: no such file or directory: ./foobar
1	# <-- POSIX says 127

:I don't know, but while we're on the subject, can anyone
:confirm or deny that bash's implementation of the 'command'
:builtin (command [-pVv] ...) is POSIX?

POSIX with (User Portability Utilities Option) says ``command [-pvV] ...''
Paraphrasing:
-p: Use a default PATH that is guaranteed to find all standard utilities.
-v: Write string to stdout of pathname or command that will be used by the
    shell, in the current shell execution environment....
-V: Write string to stdout that indicates how the name given in the
    command_name operand will be interpreted by the shell, in the
    current shell execution environment....
When the -v option is specified, standard output shall be formatted as:
  "%s\n", <pathname or command>
When the -V option is specified, standard output shall be formatted as:
  "%s\n", <unspecified>

Regards'
-- 
Geoff Wing : <gcw@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874


  reply	other threads:[~1999-10-01  1:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-30 14:24 PATCH: "sh" job control Clint Adams
1999-09-30 14:08 ` Peter Stephenson
1999-09-30 14:53   ` Zefram
1999-09-30 14:44     ` Peter Stephenson
1999-09-30 15:27       ` Clint Adams
1999-09-30 14:57         ` Peter Stephenson
1999-09-30 15:07     ` Clint Adams
1999-10-01  1:41       ` Geoff Wing [this message]
1999-10-01  6:23         ` POSIX (Was: PATCH: "sh" job control) Bart Schaefer

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=slrn7v84ag.fe4.mason@coral.primenet.com.au \
    --to=mason@primenet.com.au \
    --cc=zsh-workers@sunsite.auc.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).