Search Results

Search: Posts Made By: giova
3,517
Posted By DGPickett
Is it sort of "Amish" to use the bourne shell,...
Is it sort of "Amish" to use the bourne shell, still? :D
16,219
Posted By theboogymaster
if is more wasy to do this in perl in my opinion...
if is more wasy to do this in perl in my opinion .. there are a lot of modules that can do this.
http://search.cpan.org/~delta/Digest-Perl-MD5-1.6/lib/Digest/Perl/MD5.pm
16,219
Posted By kurumi
why not use -c option?
why not use -c option?
16,219
Posted By Peasant
Altho it's not md5, you can use cmp utility to...
Altho it's not md5, you can use cmp utility to compare 2 files and test return.

If files are different it will return 1, otherwise it will be 0

root@glitch:/myfiles# cat file*
1
2
1...
16,219
Posted By pludi
It might be a difference in whitespaces. You...
It might be a difference in whitespaces. You could try double quoting ("$cmd") the variables. But what's wrong with using md5sum -c <file_with_md5_sums>?
3,517
Posted By DGPickett
Well, do you have /dev/stderr on your UNIX? ...
Well, do you have /dev/stderr on your UNIX?

If there is no stdout, it is simple:zvar=$( your_command_and_args 2>&1 )
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 01:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy