All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gerardo García Peña" <gerardo@kung-foo.dhs.org>
To: linux-assembly@vger.kernel.org
Subject: Re: getting at raw command line
Date: Thu, 13 Sep 2007 17:46:44 +0200	[thread overview]
Message-ID: <46E95B64.4090300@kung-foo.dhs.org> (raw)
In-Reply-To: <2cf50a010709130801y5c4538f2p5fdfae95954f8b52@mail.gmail.com>

Jack Andrews escribió:
> the shell changes arguments like * to a number of arguments.  is there
> a way to get the *?  that is, if my program is p, i want this
> behaviour:
>
>  $ ls
>  file.1 file.2
>  $ ls *
>  file.1 file.2
>  $ p file.1
>  file.1
>  $ p *
>  *
>
> i don't want
>
>  $ p *
>  file.1 file.2
> -
> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   

Wildcard expansion is not responsability of Unix/Operating System... it
is done by the shell (bash)
if you try

ls '*'

you will get:

ls: *: No such file or directory

and if you try

p '*'
*

You can also escape wildcard expansion in these ways:

ls '*'
ls "*"
ls \*


luck,
ge

-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2007-09-13 15:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-13 12:18 getting at raw command line Jack Andrews
2007-09-13 13:50 ` Lukas
     [not found] ` <316574.13339.qm@web50312.mail.re2.yahoo.com>
2007-09-13 15:01   ` Jack Andrews
2007-09-13 15:46     ` Gerardo García Peña [this message]
2007-09-13 17:15     ` Lukas
2007-09-13 17:20       ` Lukas
2007-09-13 17:32         ` Lukas

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=46E95B64.4090300@kung-foo.dhs.org \
    --to=gerardo@kung-foo.dhs.org \
    --cc=linux-assembly@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.