On Wednesday, March 26, 2014 8:30:12 PM UTC-4, billy...@gmail.com wrote:
> I tested on bash 4.3 and 3.0
>
>
>
> testing]$ bash --version
>
> bash --version
>
> GNU bash, version 4.3.0(1)-release (x86_64-unknown-linux-gnu)
>
>
>
> In a directory I have:
>
>
>
> testing]$ ls -l
>
> total
On Wednesday, March 26, 2014 8:30:12 PM UTC-4, billy...@gmail.com wrote:
> I tested on bash 4.3 and 3.0
>
>
>
> testing]$ bash --version
>
> bash --version
>
> GNU bash, version 4.3.0(1)-release (x86_64-unknown-linux-gnu)
>
>
>
> In a directory I have:
>
>
>
> testing]$ ls -l
>
> total
This is a "user" problem. You are using the wrong features for the
task, your code should read:
| for f in *; do ./test "$f"; done
and quote all other variable expansions.
NEVER do: for foo in `...`ORfor foo in $(...(
This is wrong, because you're relying on word splitting and glob
expa
On Wed 26 Mar 2014 17:45:33 billyco...@gmail.com wrote:
> I thought about the changes I have made recently and I had added the
> following into my .bashrc:
>
> eval $(dircolors -b ~/.dir_colors)
>
> I commented it out, and now everything works. I think it's still a bug,
> though I know how to fi
On Wednesday, March 26, 2014 8:30:12 PM UTC-4, billy...@gmail.com wrote:
> I tested on bash 4.3 and 3.0
>
>
>
> testing]$ bash --version
>
> bash --version
>
> GNU bash, version 4.3.0(1)-release (x86_64-unknown-linux-gnu)
>
>
>
> In a directory I have:
>
>
>
> testing]$ ls -l
>
> total
I tested on bash 4.3 and 3.0
testing]$ bash --version
bash --version
GNU bash, version 4.3.0(1)-release (x86_64-unknown-linux-gnu)
In a directory I have:
testing]$ ls -l
total 16
-rw-r--r-- 1 hpierce hpierce 77 Mar 26 20:09 dog1
-rw-r--r-- 1 hpierce hpierce 77 Mar 26 20:09 dog2
-rw-r--r-- 1 hpie
(I forgot to CC the list in my first reply)
On Tue, Mar 25, 2014 at 07:12:16AM -0700, xeon Mailinglist wrote:
> For each file inside the directory $output, I do a cat to the file and
> generate a sha256 hash. This script takes 9 minutes to read 105 files, with
> the total data of 556MB and gener
On Wed, Mar 26, 2014 at 12:54:12PM +, Pádraig Brady wrote:
> On 03/25/2014 02:12 PM, xeon Mailinglist wrote:
> > For each file inside the directory $output, I do a cat to the file and
> > generate a sha256 hash. This script takes 9 minutes to read 105 files, with
> > the total data of 556MB and
On 03/25/2014 02:12 PM, xeon Mailinglist wrote:
> For each file inside the directory $output, I do a cat to the file and
> generate a sha256 hash. This script takes 9 minutes to read 105 files, with
> the total data of 556MB and generate the digests. Is there a way to make this
> script faster?
For each file inside the directory $output, I do a cat to the file and generate
a sha256 hash. This script takes 9 minutes to read 105 files, with the total
data of 556MB and generate the digests. Is there a way to make this script
faster? Maybe generate digests in parallel?
for path in $output
10 matches
Mail list logo