-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 24 June 2003 17:04, Anders Johansson wrote:
On Tue, 2003-06-24 at 23:59, Thomas Jones wrote:
thomas@suse:~> ren *.php,v *.php
That's wrong, very wrong. First of all, the shell will expand those * unless you escape them, secondly, the replacement pattern should contain #n, where n is the number, in order, of the matched pattern. In other words, the syntax is identical to the mmv utility which is included in SuSE
\*.php.v \#1.php
Well.........ok you are partially correct... You are right about the hash mark.Unless you are using the C shell interactively-------which doesn't recognize the # as a comment. It does feed from the wildcard in this sequence under bash. Isn't the standard escape sequence for a string the single quotes in bash and/or bourne? Unless of course the command sequence contains $ or \ or `???? Which then calls for the doublequote. By the way, that command you gave won't work. That's a "," not a "." before the v. Tag you are it!!!!!! - -- Thomas Jones Linux-Howtos Network Administrator OpenGPG Key: 0x6A3DF6E9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE++QN0QT2komo99ukRAkPSAKCjgSqc3GhminfqeGnNfeod4VPezwCdHtiv d2aO8u0GE7OduYYeaabXLtY= =lwEP -----END PGP SIGNATURE-----