How many hyphens are used when creating a dash on a typewriter?

A dash is created on a typewriter by typing two unspaced hyphens (--) without any spaces on either side of the dash.

In word processing, a dash of the same approximate length (‚) may usually be created with a certain keystroke combination, depending upon the hardware and software employed.