[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parallel with text file of command lines
From: |
Alle Meije Wink |
Subject: |
Re: parallel with text file of command lines |
Date: |
Thu, 18 Nov 2010 20:31:04 +0100 |
Oh dear...
The ''parallel'' I was trying to get to do all the work was from the
'moreutils' package in Ubuntu.
A name confusion that may be worth considering! (the other parallel
seemed to be there first)
Downloaded the latest version, did
./configure --program-prefix=/usr/local/
make
make install
The last command exits with
>> /usr/bin/install -c parallel '/usr/local/bin/.//usr/localparallel'
>> /usr/bin/install: cannot create regular file
>> `/usr/local/bin/.//usr/localparallel': No such file or directory
>> make[2]: *** [install-binSCRIPTS] Error 1
>> make[2]: Leaving directory `/usr/local/parallel-dev/src'
>> make[1]: *** [install-am] Error 2
>> make[1]: Leaving directory `/usr/local/parallel-dev/src'
>> make: *** [install-recursive] Error 1
Should probably not happen ???
Anyway, just doing configure;make;make install works!!!
And parallel works great :)
AM
On 17 November 2010 13:36, Hans Schou <chlor@schou.dk> wrote:
> 2010/11/16 Alle Meije Wink <a.m.wink@gmail.com>:
>
>> Another of my attempts is a 'commands' file made of calls to ls and
>> writing them to separate files:
>> printf "/bin/ls > ./ls1.txt\n/bin/ls > ./ls2.txt\n/bin/ls >
>> ./ls3.txt\n" > lstest.txt
>> . lstest.txt
>> rm ls?.txt
>> cat lstest.txt | parallel
>
> Your lstest.txt looks right.
>
> Try to make a file with only a few commands, and then run:
>
> cat lstest.txt | parallel -v
>
> What do you see?
>
> /hans
>