DASH Shell discussions
 help / color / mirror / Atom feed
From: Jack Bates <i72aoc@nottheoilrig.com>
To: dash@vger.kernel.org
Subject: glob pattern and redirected input file name
Date: Thu, 29 Aug 2013 16:49:12 -0700	[thread overview]
Message-ID: <521FDDF8.5010200@nottheoilrig.com> (raw)

What is DASH supposed to do when input is redirected from a file, and 
the file name is a glob pattern? e.g.

    tar xz < foo-*.tar.gz

Is it supposed to expand the glob pattern, or is that not supported?

The following both work, is there a better workaround?

    tar fxz foo-*.tar.gz

    tar xz < $(echo foo-*.tar.gz)

             reply	other threads:[~2013-08-29 23:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29 23:49 Jack Bates [this message]
2013-08-30 14:34 ` glob pattern and redirected input file name Jilles Tjoelker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=521FDDF8.5010200@nottheoilrig.com \
    --to=i72aoc@nottheoilrig.com \
    --cc=dash@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox