Just did, sort of still stuck in windows land, with command per line :)
On 9 April 2010 16:18, Bruce Korb wrote:
>> Had you considered avoiding the intermediate file altogether and going:
>>
>> sed ... | other changes ... | sh
>
> eval "$(sed ... | whatever)"
> --
> users mailing list
> users@li
> Had you considered avoiding the intermediate file altogether and going:
>
> sed ... | other changes ... | sh
eval "$(sed ... | whatever)"
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Gu
On 08Apr2010 16:43, Michael Thompson wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| On 08/04/10 16:29, Adalbert Prokop wrote:
| > Am 08.04.2010 17:06, schrieb Michael Thompson:
| >
| > Hi!
|
| >
| > Well, if your list of commands already is a script, then including it
| > would
>> If you start the executor with your file as the first parameter, it will
>> execute the lines one by one.
>>
>> # ./executor script
>>
>>
> Many thanks for your help there, much appreciated.
>
> - --
> Michael
> http://maverickapollo.wordpress.com
> -BEGIN PGP SIGNATURE-
> Versio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/04/10 16:29, Adalbert Prokop wrote:
> Am 08.04.2010 17:06, schrieb Michael Thompson:
>
> Hi!
>
> Well, if your list of commands already is a script, then including it
> would be the most convenient method.
>
> Let's say your list is called "
Am 08.04.2010 17:06, schrieb Michael Thompson:
Hi!
> I'm quite new to Bash scripting, and just need a little pointer on how
> to go through a file, and execute commands there in until the end of the
> file is reached.
Well, if your list of commands already is a script, then including it
would b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/04/10 16:06, Michael Thompson wrote:
> I'm quite new to Bash scripting, and just need a little pointer on how
> to go through a file, and execute commands there in until the end of the
> file is reached.
>
> The idea is this, a list of iptables