Mung (computer term)

From HandWiki
Revision as of 21:45, 8 February 2024 by OrgMain (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Computer jargon


Mung or munge is computer jargon for a series of potentially destructive or irrevocable changes to a piece of data or a file.[1] It is sometimes used for vague data transformation steps that are not yet clear to the speaker.[2] Common munging operations include removing punctuation or HTML tags, data parsing, filtering, and transformation.[2]

The term was coined in 1958 in the Tech Model Railroad Club at the Massachusetts Institute of Technology.[1] In 1960 the backronym "Mash Until No Good" was created to describe Mung, and by 1976 it was revised to "Mung Until No Good", making it one of the first recursive acronyms.[3] It lived on as a recursive command in the editing language TECO.[4]

It differs from the very similar term munge, because munging usually implies destruction of data, while mungeing usually implies modifying data (simple passwords) in order to create protection related to that data.

Munging may also describe the constructive operation of tying together systems and interfaces that were not specifically designed to interoperate (also called 'duct-taping'). Munging can also describe the processing or filtering of raw data into another form.[2]

As the "no good" part of the acronym implies, munging often involves irrevocable destruction of data.[1] Hence in the early text-adventure game Zork, the user could mung an object and thereby destroy it, making it impossible to finish the game if the object was an important item.

See also

  • Jargon File – a glossary of hacker slang.
  • Slug – an application of munging for creating human-friendly URLs.
  • Kludge – a neologism developed near this time with a similar meaning

References

  1. 1.0 1.1 1.2 Raymond, Eric S.. "The Jargon File, version 4.4.8". Archived from the original on June 15, 2015. https://web.archive.org/web/20150615165058/http://www.catb.org/jargon/html/M/mung.html. Retrieved 15 June 2015. 
  2. 2.0 2.1 2.2 Cross, David (2001). Data Munging with Perl. Greenwich, CT: Manning. p. 4. 
  3. "Jargon File, version 1.0.0.01". 12 August 1976. http://jargon-file.org/archive/jargon-1.0.0.01.dos.txt. 
  4. Gesswein, David. "OS/8 Help File". Archived from the original on June 15, 2015. https://web.archive.org/web/20150615181221/http://www.pdp8.net/os/os8/os8_cmd.shtml. Retrieved 15 June 2015. 

External links