[svnbook commit] r2759 - in trunk/src: en/book es/book it/book nb/book pt_BR/book ru/book zh/book

cmpilato noreply at red-bean.com
Tue Mar 27 09:59:07 CDT 2007


Author: cmpilato
Date: Tue Mar 27 09:59:06 2007
New Revision: 2759

Log:
De-Unix-ify some svndumpfilter examples by using regular redirection
instead of pipes from 'cat'.

Patch by: Ryan Schmidt <subversion-2007a at ryandesign.com>

* src/nb/book/ch-repository-admin.xml,
* src/zh/book/ch05.xml,
* src/en/book/ch05-repository-admin.xml,
* src/pt_BR/book/ch05.xml,
* src/ru/book/ch-repository-admin.xml,
* src/es/book/ch05.xml,
* src/it/book/ch05.xml
  Use 'svndumpfilter < dumpfile > outfile' (which works on Windows)
  instead of 'cat dumpfile | svndumpfilter > outfile' (which does not).

Modified:
   trunk/src/en/book/ch05-repository-admin.xml
   trunk/src/es/book/ch05.xml
   trunk/src/it/book/ch05.xml
   trunk/src/nb/book/ch-repository-admin.xml
   trunk/src/pt_BR/book/ch05.xml
   trunk/src/ru/book/ch-repository-admin.xml
   trunk/src/zh/book/ch05.xml

Modified: trunk/src/en/book/ch05-repository-admin.xml
==============================================================================
--- trunk/src/en/book/ch05-repository-admin.xml	(original)
+++ trunk/src/en/book/ch05-repository-admin.xml	Tue Mar 27 09:59:06 2007
@@ -2155,11 +2155,11 @@
         resulting in three new dump files:</para>
 
       <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfile
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfile
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
 …
 $
 </screen>

Modified: trunk/src/es/book/ch05.xml
==============================================================================
--- trunk/src/es/book/ch05.xml	(original)
+++ trunk/src/es/book/ch05.xml	Tue Mar 27 09:59:06 2007
@@ -1201,11 +1201,11 @@
           dando como resultado tres nuevos ficheros de volcado:</para>
 
         <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfile
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfile
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
 …
 $
 </screen>

Modified: trunk/src/it/book/ch05.xml
==============================================================================
--- trunk/src/it/book/ch05.xml	(original)
+++ trunk/src/it/book/ch05.xml	Tue Mar 27 09:59:06 2007
@@ -1645,11 +1645,11 @@
           resulting in three new dump files:</para>
 
         <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfile
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfile
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
 …
 $
 </screen>

Modified: trunk/src/nb/book/ch-repository-admin.xml
==============================================================================
--- trunk/src/nb/book/ch-repository-admin.xml	(original)
+++ trunk/src/nb/book/ch-repository-admin.xml	Tue Mar 27 09:59:06 2007
@@ -2973,21 +2973,21 @@
 
         <!-- @ENGLISH {{{
         <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfile
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfile
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
 …
 $
 </screen>
         @ENGLISH }}} -->
         <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfil
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfil
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfil
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfil
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfil
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfil
 …
 $
 </screen>

Modified: trunk/src/pt_BR/book/ch05.xml
==============================================================================
--- trunk/src/pt_BR/book/ch05.xml	(original)
+++ trunk/src/pt_BR/book/ch05.xml	Tue Mar 27 09:59:06 2007
@@ -1552,11 +1552,11 @@
           resulting in three new dump files:</para>
 
         <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfile
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfile
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
 …
 $
 </screen>

Modified: trunk/src/ru/book/ch-repository-admin.xml
==============================================================================
--- trunk/src/ru/book/ch-repository-admin.xml	(original)
+++ trunk/src/ru/book/ch-repository-admin.xml	Tue Mar 27 09:59:06 2007
@@ -1556,11 +1556,11 @@
           resulting in three new dump files:</para>
 
         <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfile
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfile
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
 …
 $
 </screen>

Modified: trunk/src/zh/book/ch05.xml
==============================================================================
--- trunk/src/zh/book/ch05.xml	(original)
+++ trunk/src/zh/book/ch05.xml	Tue Mar 27 09:59:06 2007
@@ -947,11 +947,11 @@
         <para>然后,将转储文件三次送入过滤器,每次仅保留一个顶级目录,就可以得到三个转储文件:</para>
 
         <screen>
-$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile
+$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include calendar > cal-dumpfile
+$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
 …
-$ cat repos-dumpfile | svndumpfilter include spreadsheet > ss-dumpfile
+$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
 …
 $
 </screen>




More information about the svnbook-dev mailing list