Subject: b19.1: question about "wait for job"
From: [email-masked] (Schzen Ooi)

5 Sep 1998 02:24:00 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]

Suppose, you had a script in, say, "d:/usr/local/bin/which" is defined
as:

>#!/bin/sh
>OFS=$IFS
>IFS=:
>for p in $PATH; do
>  if [ -f "$p/$1" ]; then
>    ls "$p/$1"
>    exit 0
>  fi
>done
>IFS=$OIFS
>
>#type -p $1

to demonstrate the output below, and running it [might] give the
following results:

>bash2$ whereis ls
>/usr/H-i386-cygwin32/bin/ls
>//d/usr/local/bin/whereis: waitforjob: no children
>bash2$

Changing the "#!/bin/sh" to "#!/usr/local/bin/bash" makes the message go
away,
I have the following in d:/bin/sh.exe,
d:/usr/H-i386-cygwin32/bin/bash.exe
and d:/usr/local/bin/bash.exe for convenience and they are just
duplicates.

and mount paths defined with
"d:\usr\H-i386-cygwin32\bin" -> "/bin"
"d:\usr" -> "/usr"
if this detail is significant.

What does the waitforjob mean?

Schzen

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".