feeding a script from standard input

Jeffrey Holle <[email protected]> Mon, 26 Jan 2004 22:04:16 -0800
Newsgroups gmane.linux.console
Message-ID <[email protected]>
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?


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