]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sun, 28 Apr 2002 21:58:19 +0000 (21:58 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 28 Apr 2002 21:58:19 +0000 (21:58 +0000)
doc/code-vs-command [new file with mode: 0644]

diff --git a/doc/code-vs-command b/doc/code-vs-command
new file mode 100644 (file)
index 0000000..b7ec090
--- /dev/null
@@ -0,0 +1,8 @@
+perl -pi -e \
+  's/\@code\{('"$(echo cp dd df dir dircolors du install ln ls mkdir mkfifo mknod mv shred touch vdir|tr ' ' '|')"')\}/\@command{$1}/' coreutils.texi
+
+perl -pi -e \
+  's/\@code\{('"$(echo cp dd df dir dircolors du install ln ls mkdir mkfifo mknod mv shred touch vdir|tr ' ' '|')"')\}/\@command{$1}/' coreutils.texi
+
+regex=$((textutils; shellutils) | tr -s ' ' '|')
+perl -pi -e 's/\@code\{('"$regex"')\}/\@command{$1}/' coreutils.texi