RE: [PHP-QA] cvs: qaweb /tools phport.sh
| From: | Sebastian Nohn | Date: | Wed, 13 Nov 2002 17:39:35 +0000 |
| Subject: | RE: [PHP-QA] cvs: qaweb /tools phport.sh | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-6748@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Roman Neuhauser [mailto:neuhauser@bellavista.cz]
> Sent: Wednesday, November 13, 2002 6:00 PM
> To: php-qa@lists.php.net
> Subject: Re: [PHP-QA] cvs: qaweb /tools phport.sh
>
>
> # sebastian@nohn.net / 2002-11-13 12:56:37 -0000:
> > nohn Wed Nov 13 07:56:37 2002 EDT
> >
> > Modified files:
> > /qaweb/tools phport.sh
> > Log:
> > .
>
> this is a very useful and descriptive log message.
>
> > + PHPSNAPFILE=
echo $SNAPURI | sed
> > 's/.*\///g'
>
> looks like the g flag is superfluous here.
>
> btw, this has the same effect, and is much cheaper:
>
> PHPSNAPFILE=${SNAPURI##*/}
If you would have read all the other more descriptive CVS messages you could
have seen that this won't work on old shells. By the way... Everyone of you
has CVS-accounts, so if you would like to change something do it ;)
Regards,
Sebastian Nohn
--
sebastian@nohn.net - http://www.nohn.net/
PGP Key Available - Did I help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist/3HYH6NR8ZI0WI/