[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/dired.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/man/dired.texi |
Date: |
Fri, 31 Dec 2004 10:36:15 -0500 |
Index: emacs/man/dired.texi
diff -c emacs/man/dired.texi:1.31 emacs/man/dired.texi:1.32
*** emacs/man/dired.texi:1.31 Mon Dec 13 05:20:40 2004
--- emacs/man/dired.texi Fri Dec 31 15:11:01 2004
***************
*** 700,725 ****
If the command string contains @samp{?} surrounded by whitespace, the
current file name is substituted for @samp{?}. You can use @samp{?}
this way more than once in the command, and each occurrence is
! replaced. For instance, here is how to uuencode each file, making the
! output file name by appending @samp{.uu} to the input file name:
!
! @example
! uuencode ? ? > ?.uu
! @end example
@end itemize
To iterate over the file names in a more complicated fashion, use an
! explicit shell loop. For example, this shell command is another way
! to uuencode each file:
@example
for file in * ; do uuencode "$file" "$file" >"$file".uu; done
@end example
- @noindent
- This simple example doesn't require a shell loop (you can do it
- with @samp{?}, but it illustrates the technique.
-
The working directory for the shell command is the top-level directory
of the Dired buffer.
--- 700,717 ----
If the command string contains @samp{?} surrounded by whitespace, the
current file name is substituted for @samp{?}. You can use @samp{?}
this way more than once in the command, and each occurrence is
! replaced.
@end itemize
To iterate over the file names in a more complicated fashion, use an
! explicit shell loop. For example, here is how to uuencode each file,
! making the output file name by appending @samp{.uu} to the input file
! name:
@example
for file in * ; do uuencode "$file" "$file" >"$file".uu; done
@end example
The working directory for the shell command is the top-level directory
of the Dired buffer.