Web lists-archives.com

Re: Zsh and wildcards




On 2019-02-19 13:42, Mike Brown wrote:
> Zsh 5.3 under Win7-64
> I'm trying to do the following:
>     mv TSMUXER/*.ac3 TSMUXER/txmuxer.ac3
> The problem is the the * is not being expanded.  I have no idea why not.
> Any tips will be appreciated.

The command line implies you have a .ac3 file already in TSMUXER and want to
rename it to fixed name txmuxer.ac3. A lack of expansion implies there is no
file matching that pattern. You can prefix simple commands with echo to test
their effect. If a pattern is not expanded, use ls to check what exists in the
source directory, and where it differs from your expectation.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple