Re: cvs: qaweb /tools phport.sh
| From: | Sascha Schumann | Date: | Wed, 13 Nov 2002 17:13:48 +0000 |
| Subject: | Re: cvs: qaweb /tools phport.sh | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-6747@lists.php.net to get a copy of this 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:
And would probably not work on SunOS 4. The sed expression
can be compressed to s#.*/##.
- Sascha