Update for devel/website/working.wml
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
to encourage people working on the website to make more use of the
smartchange.pl script, I suggest to add a small explaining text to the
description. Please see the attached patch for this.
If no one objects, I would commit this in a few days. In the meantime,
comments and suggestions are welcome.
Cheers,
- --
Tobias
In the beginning, there was nothing. And God said, "Let there be
Light." And there was still nothing, but you could see a bit better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBJipeCqqEJ0Fs8twRAiE/AJ0Tg2jZQBsVyQWiUbTs6tDL5bZxUQCdHfTH
ckT9MSR7jp/GEfN+XB0AahI=
=GWzT
-----END PGP SIGNATURE-----
Index: working.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/devel/website/working.wml,v
retrieving revision 1.31
diff -b -u -r1.31 working.wml
--- working.wml 27 Apr 2003 22:39:15 -0000 1.31
+++ working.wml 20 Aug 2004 16:41:56 -0000
@@ -112,10 +112,16 @@
<dl>
<dt><code>-s, --substitute=<var>REGEXP</var></code></dt>
<dd>Specify a Perl regular expression applied to source files (may be used
- more than once).
+ more than once). Example:
<pre>
- Example: ./smart_change.pl -s "s,http://oldurl/,http://newurl/,g" english/index.wml
+ $> ./smart_change.pl -s "s,http://oldurl/,http://newurl/,g" english/devel/index.wml
+ $> cvs diff -u */devel/index.wml | less
+ $> cvs ci -m "1.23: Updated oldurl to current location" */devel/index.wml
</pre>
+ The first command does the change, the second command is for checking
+ the English original file and every translation of it. You should
+ do this to review the actual changes before committing. If everything
+ looks like you expected, commit your changes with the third command.
</dd>
<dt><code>-l, --lang=<var>STRING</var></code></dt>
Reply to: