0

When I run this command:

tar -xOzf oresoftware-npp-0.0.1002.tgz | sort | sha1sum

I get this:

fadc89dd523fd54299aed689a90f73243c5336b8  -

does anyone know what the trailing dash - is supposed to represent?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817

1 Answers1

1

sha1sum prints the SHA-1 hash, followed by the corresponding file name. In this case, it’s calculating the hash of the data on its standard input; it uses - as the file name to represent this.

Stephen Kitt
  • 2,786
  • 22
  • 32