RE: [PHP-QA] cvs: qaweb /tools phport.sh

From: Date: Wed, 13 Nov 2002 17:43:05 +0000
Subject: RE: [PHP-QA] cvs: qaweb /tools phport.sh
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-6749@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Sascha Schumann [mailto:sascha@schumann.cx] > Sent: Wednesday, November 13, 2002 6:14 PM > To: Roman Neuhauser > Cc: php-qa@lists.php.net > Subject: Re: [PHP-QA] cvs: qaweb /tools phport.sh > > > > > + 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#.*/##. Without the trailing dot it should work... 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/ -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBPdKO0bL8H5XUfVXgEQKtUACfXyih3Clf8fdUfiI8//nrc1UssIkAoKAd wUJpkRL5ZF7GpdDlBR+5MXKU =A9BT -----END PGP SIGNATURE-----

« previous php.qa (#6749) next »