in reply to Re: Grave accent caveats
in thread Grave accent/Backtick/`` caveats

I think it's really probable that his echo does not have -n and the backquotes are giving him the hash for "-n deepak.gulati\n"
[]s, HTH, Massa (κς,πμ,πλ)

Replies are listed 'Best First'.
Re^3: Grave accent caveats
by jethro (Monsignor) on Jan 19, 2009 at 18:05 UTC

    And Massa hit the nail on the head:

    my $text= "-n deepak.gulati\n"; my $hash2 = Digest::SHA1::sha1_hex($text); print "$hash2\n"; Output: 98bed27374f41bdef95f4dbc6cb3ff3728721837