From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10555 invoked by alias); 20 Aug 2012 13:20:54 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30634 Received: (qmail 19262 invoked from network); 20 Aug 2012 13:20:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at mx1.ru does not designate permitted sender hosts) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:x-gm-message-state; bh=rFVuUuUswaRnD9UoNrhvrLnaOeUXvRsPuujvzPpE5uU=; b=axfLxr+nLUyPRw6dN197ZWLGTS6zpxCluvaLv66HxLM9k81ZiuCWi5Trg23uu3ohTR L9JDb2P1kRGJwz2Z+zsSS08mAQX8iHSeRD6wUzNaJkSbUlMxr8+QTKlDfwuM1CBVTUX4 foIafOneoWaV5hU6q2D9SPgYnSjh2F3oPOq1PhrqaaS5T4amKQjQl50xp3PLw1974Lpw nezy6LsQaIcZuxik9ApwowqyVLjo0mCXh4rY3uEuieRZ7oDBp25a2CqD95o+wgM5WpWd ZNQwLCKUa5xIEcWMOz/fT+VI/twbEC9WVb90OcXK5HvbXmtdkt9HyZBubzjsdjF1EwtT fKPw== MIME-Version: 1.0 Sender: stepancheg@mx1.ru Date: Mon, 20 Aug 2012 17:20:42 +0400 X-Google-Sender-Auth: 6atMM_WH0j1UtCr_8qpc5xX4H0Y Message-ID: Subject: [PATCH] zmv: use (q-) quoting From: Stepan Koltsov To: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkzskaNwazfs+crTol/dw/WxwWXVntcdwsO186XO8jI0VIQNzF6bQJRU+bjeqdQDzv31PBK Hi, all. `zmv -n` prints commands to be executed. If it used (q-) quoting instead of (q), output would be better when filenames contain multiple spaces. >>> mv 'hello beautiful world!' 'goodbye cruel world!' instead of: >>> mv hello\ beautiful\ world\! goodbye\ cruel\ world\! Trivial patch: https://github.com/stepancheg/zsh/commit/4320c5abb5083359c69b5a74fb55743d2a1e5628.patch -- Stepan Koltsov