[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing
From: |
Bob Friesenhahn |
Subject: |
Re: Testing |
Date: |
Thu, 14 Oct 2004 10:35:53 -0500 (CDT) |
On Thu, 14 Oct 2004, Gary V. Vaughan wrote:
Is this a bashism:
for to;
do
echo arg: $to
done
Doesn't look like standard shell syntax to me.
Maybe I should use the long hand:
for to in : ${1+"$@"}
do
test "X$to" = X: && continue
echo arg: $to
done
Or does simply removing the semicolon work for you?
If I run mailnotify using bash, it gets farther, but then it fails
because it tries to invoke sendmail from my PATH rather than the one
at /usr/lib/sendmail:
+ from_name=Bob Friesenhahn
++ echo 'Bob Friesenhahn <address@hidden>'
++ sed 's,^.*<\(.*\)>.*$,\1,'
+ address@hidden
+ SENDMAIL=sendmail
+ which sendmail
+ SENDMAIL=sendmail
+ break
+ func_verbose 'Delivering mail, please wait...'
+ false
+ :
+ test -n 'Bob Friesenhahn'
+ sendmail -F 'Bob Friesenhahn' -f address@hidden
address@hidden
config/mailnotify: sendmail: command not found
+ test 127 -eq 0
+ func_fatal_error 'Mail delivery failed, draft mail is in
/tmp/mailnotify27299-16800.15787'
+ func_error 'Mail delivery failed, draft mail is in
/tmp/mailnotify27299-16800.15787'
+ echo 'mailnotify: Mail delivery failed, draft mail is in
/tmp/mailnotify27299-16800.15787'
mailnotify: Mail delivery failed, draft mail is in
/tmp/mailnotify27299-16800.15787
+ exit 1
blade:src/gnu/libtool-branch-2-0% ls /usr/lib/sendmail
/usr/lib/sendmail*
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen
- Testing, Bob Friesenhahn, 2004/10/14
- Re: Testing, Gary V. Vaughan, 2004/10/14
- Re: Testing, Bob Friesenhahn, 2004/10/14
- Re: Testing, Gary V. Vaughan, 2004/10/14
- Re: Testing,
Bob Friesenhahn <=
- Re: Testing, Gary V. Vaughan, 2004/10/14
- Re: Testing (with attachment this time!), Gary V. Vaughan, 2004/10/14
- Re: Testing (with attachment this time!), Bob Friesenhahn, 2004/10/14
- Re: Testing (with attachment this time!), Gary V. Vaughan, 2004/10/15
- Re: Testing, Ralf Wildenhues, 2004/10/16