[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-grep] egrep and fgrep script assume path
From: |
Paul Jarc |
Subject: |
Re: [bug-grep] egrep and fgrep script assume path |
Date: |
Thu, 27 Jan 2005 11:11:06 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Stepan Kasal <address@hidden> wrote:
>> if { dir=${0%/*} } 2> /dev/null; then
>
> With bash, I need a semicolon before }. A typo?
Oops, yes.
> So would the following be OK with you?
That looks pretty good. My habit is to also sprinkle "&&" between all
commands to catch errors, but you may be more optimistic than I am. :)
paul
- Re: [bug-grep] egrep and fgrep script assume path, (continued)
Re: [bug-grep] egrep and fgrep script assume path, Paul Jarc, 2005/01/27
- Re: [bug-grep] egrep and fgrep script assume path, Stepan Kasal, 2005/01/26
- Re: [bug-grep] egrep and fgrep script assume path, Paul Jarc, 2005/01/27
- Re: [bug-grep] egrep and fgrep script assume path, Stepan Kasal, 2005/01/27
- Re: [bug-grep] egrep and fgrep script assume path, Paul Jarc, 2005/01/27
- Re: [bug-grep] egrep and fgrep script assume path, Stepan Kasal, 2005/01/27
- Re: [bug-grep] egrep and fgrep script assume path,
Paul Jarc <=
- Re: [bug-grep] egrep and fgrep script assume path, Stepan Kasal, 2005/01/27
Re: [bug-grep] egrep and fgrep script assume path, Paul Eggert, 2005/01/27
Re: [bug-grep] egrep and fgrep script assume path, Stepan Kasal, 2005/01/28
Re: [bug-grep] egrep and fgrep script assume path, Paul Eggert, 2005/01/29
Re: [bug-grep] egrep and fgrep script assume path, Stepan Kasal, 2005/01/29
Re: [bug-grep] egrep and fgrep script assume path, Paul Eggert, 2005/01/31
Re: [bug-grep] egrep and fgrep script assume path, Aharon Robbins, 2005/01/27