From: Jeffrey Holle <jeff.holle@verizon.net>
To: linux-console@vger.kernel.org
Subject: Re: feeding a script from standard input
Date: Wed, 28 Jan 2004 12:34:17 -0800 [thread overview]
Message-ID: <bv96ha$88v$1@sea.gmane.org> (raw)
In-Reply-To: <20040128140536.GW8401@lug-owl.de>
Thanks for this, works without the quotes!
Jan-Benedict Glaw wrote:
> On Mon, 2004-01-26 22:04:16 -0800, Jeffrey Holle <jeff.holle@verizon.net>
> wrote in message <bv4v6h$rlc$1@sea.gmane.org>:
>
>>I have a script, call it genpyste that looks like this:
>>
>> #!/bin/sh
>> pyste --out=. --multiple --module=mymodule Parameter.pyste
>>
>>The problem with it is that this is just a start of it.
>>When I'm done, there will need to be about 30 parameters like
>>Parameter.pyste.
>>
>>I'm wondering if I can do something like this from the command line:
>>
>> ls *.pyste | ./genpyste
>>
>>What, if anything, can be done to the genpyste script to work like this?
>
>
> Why not make it like this:
>
> #!/bin/sh
> pyste --out=. --multiple --module=mymodule "$*"
>
> and then call it like
> $ ./genpystr *.pyste
>
> MfG, JBG
>
next prev parent reply other threads:[~2004-01-28 20:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-27 6:04 feeding a script from standard input Jeffrey Holle
2004-01-28 14:05 ` Jan-Benedict Glaw
2004-01-28 20:34 ` Jeffrey Holle [this message]
2004-01-29 7:30 ` Mike Castle
2004-01-30 15:30 ` Jan-Benedict Glaw
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='bv96ha$88v$1@sea.gmane.org' \
--to=jeff.holle@verizon.net \
--cc=linux-console@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.