mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-30 05:40:58 +01:00
Stepan Koltsov: 30634: use (q-) quoting
for zmv output for clarity.
This commit is contained in:
parent
6bd2befae7
commit
07fd604718
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-08-20 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Stepan Koltsov: 30634: Functions/Misc/zmv: use (q-) quoting
|
||||
for output for clarity.
|
||||
|
||||
2012-08-17 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Stepan Koltsov: 30632
|
||||
|
|
@ -83,5 +88,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5703 $
|
||||
* $Revision: 1.5704 $
|
||||
*****************************************************
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ fi
|
|||
for f in $files; do
|
||||
[[ -z $to[$f] ]] && continue
|
||||
exec=($action ${=opt_o} $opt_s -- $f $to[$f])
|
||||
[[ -n $opt_i$opt_n$opt_v ]] && print -r -- ${(q)exec}
|
||||
[[ -n $opt_i$opt_n$opt_v ]] && print -r -- ${(q-)exec}
|
||||
if [[ -n $opt_i ]]; then
|
||||
read -q 'opt?Execute? ' || continue
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue