Zsh Mailing List Archive
Messages sorted by:
Re: reading a file into an array. mapfile? (f)?
- X-seq: zsh-users 13275
- From: "Aaron Davies" <aaron.davies@xxxxxxxxx>
- To: "Rocky Bernstein" <rocky.bernstein@xxxxxxxxx>
- Subject: Re: reading a file into an array. mapfile? (f)?
- Date: Mon, 22 Sep 2008 10:25:43 +0800
- Cc: "zsh users mailing list" <zsh-users@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=587pjqVWyZ4XmiVYMX31tLiIiBWzmjk5sQ3iGWEuS3U=; b=Ejo6cUQkYhpWqiqBwoYh3N5cy+l6Cm0Y2namYqbGM6kfjcrlgkwLo0lH3Ft4YcqnBl t7XWZIwvDi2+8a6m2oZNRs4pzCHDHv6eNrlXpV5sWGaRTOD7+BMigAYoagadkwUMynGS PhoPUcSVjxYQgQEtxrmBS67Ie8e3cMhfi92Ik=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=omu6JCga32e/TuS+MLuRYq8niAuIJorEMBz9hnT8qXDk1DnTRRkqJ9W26IVJdHAzTn 3g1xHmWsBPxQ4Px6A/U6FtAcnXbssS6Z7eySpTwiveQrtZrKB5B3orqE1BjUkjkO/PRF UsD4ndANMHH34mNAWKXCdM0CNneJ01pMvg8w0=
- In-reply-to: <6cd6de210809202032h7a59ad4ck1d4d0f4d292c72f7@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6cd6de210809171953pd956d75gd4b3609ac036fe0@xxxxxxxxxxxxxx> <080917214418.ZM27616@xxxxxxxxxxxxxxxxxxxxxx> <6cd6de210809181747kc0f0a5bt4489f534589725a8@xxxxxxxxxxxxxx> <20080919100725.5c471019@news01> <6cd6de210809190339g57a4e722u5ad1371e858c8501@xxxxxxxxxxxxxx> <200809191100.m8JB0sAC028936@xxxxxxxxxxxxxx> <6cd6de210809190744y38654349qa0db6e4d4b8fc2a5@xxxxxxxxxxxxxx> <20080920202907.GA43828@xxxxxxxxxxxxxxxxxxxx> <6cd6de210809202032h7a59ad4ck1d4d0f4d292c72f7@xxxxxxxxxxxxxx>
On Sun, Sep 21, 2008 at 11:32 AM, Rocky Bernstein
> Here is the particular scenario I'm thinking. In debuggers for C, C++, Java,
> Python and Ruby (among probably others) one can debug a program remotely.
> What often happens here is that the source code may be coming from a
> different filesystem than where the program is in fact running. In this
> situation one would like a signature or checksum of the data to verify that
> the source code is the same. I've noticed in the past that "sum" on Solaris
> gives a different result than "sum" on GNU/Linux. I think however that
> "md5sum" does give the same result.
if all you're interested in is checking data consistency, maybe you
should use crc, which anyone who knows anything about hashing will
immediately realize means you make no guarantees about security. (it's
probably also much easier to write and faster to compute)
Messages sorted by: