Clobbering
bowl, the added decoration presumably 19th-century In computing, clobbering is the act of overwriting a resource such as a file, processor register or a region of memory, such that its content is lost. Generally, the term is used in the context of unintentional loss of information, but it can be used for intentional overwriting as well. The Jargon File defines clobbering as The term originated in pottery, where clobbering is a traditional term for the deceptive and fraudulent later addition of decoration to an originally plain piece. This was especially done to Chinese porcelain, but also European wares. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
bowl, the added decoration presumably 19th-century]] In computing, clobbering is the act of overwriting a resource such as a file, processor register or a region of memory, such that its content is lost. Generally, the term is used in the context of unintentional loss of information, but it can be used for intentional overwriting as well. The Jargon File defines clobbering as The term originated in pottery, where clobbering is a traditional term for the deceptive and fraudulent later addition of decoration to an originally plain piece. This was especially done to Chinese porcelain, but also European wares. ==Examples== $ echo "Hello, world" >file.txt $ cat file.txt Hello, world $ echo "This will overwrite the first greeting." >file.txt $ cat file.txt This will overwrite the first greeting. $ set -o noclobber $ echo "Can we overwrite it again?" >file.txt -bash: file.txt: cannot overwrite existing file $ echo "But we can use the >| operator to ignore the noclobber." >|file.txt $ cat file.txt # Successfully overwrote the contents of file.txt using the >| operator But we can use the >| operator to ignore the noclobber. $ set +o noclobber # Changes setting back ==References==
Cite this
"Clobbering". 1757918385. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1311457044 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy