Uses of the octothorp. (#)
Uses of the octothorp. (#)
The octothorpe (#, aka "number sign" or "hash") is a strange character, because it has many various, unrelated uses, and that despite this irregularity, it's even in ASCII, and on every keyboard. I've recorded the following:
General Use:
- number sign : #1 (read as "number one")
- abbreviation for "lb" (I've never seen this irl, but wikipedia says it was used this way at one point: https://en.wikipedia.org/wiki/Number_sign )
- (hash)tag marker (on twitter and other websites) (note that this is derived from IRC using it as a channel marker)
Programming Languages:
- heading marker (in markdown) (Maybe this is derived from IRC too ?)
- comment marker (in some programming languages)
Other Uses:
- checkmate marker (in chess algebraic notation)
- end of string marker : At my last job, I had to enter a number code on a 12-button keypad to open the door to the building, and the last button pressed was always the octothorpe.
Has anybody here run into any other uses of the octothorpe ?
General Use:
- number sign : #1 (read as "number one")
- abbreviation for "lb" (I've never seen this irl, but wikipedia says it was used this way at one point: https://en.wikipedia.org/wiki/Number_sign )
- (hash)tag marker (on twitter and other websites) (note that this is derived from IRC using it as a channel marker)
Programming Languages:
- heading marker (in markdown) (Maybe this is derived from IRC too ?)
- comment marker (in some programming languages)
Other Uses:
- checkmate marker (in chess algebraic notation)
- end of string marker : At my last job, I had to enter a number code on a 12-button keypad to open the door to the building, and the last button pressed was always the octothorpe.
Has anybody here run into any other uses of the octothorpe ?
Re: Uses of the octothorp. (#)
Also in shebang lines in Unix scripts.
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices
(Why does phpBB not let me add >5 links here?)
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices
(Why does phpBB not let me add >5 links here?)
Re: Uses of the octothorp. (#)
And comments in Unix scripts generally.
Also:
- C and C++ preprocessor directives
- catenation in C macros
- length operator in Lua
- "pound sign" in daily life in some countries
- beginning and end of word in sound changes
- raising of a musical note by a semitone (yes, this is pushing it a bit)
- prefix denoting hexadecimal numbers in some assembly languages
Self-referential signatures are for people too boring to come up with more interesting alternatives.
Re: Uses of the octothorp. (#)
jcb already said that…
No, that’s very specifically a sharp sign ♯, not a hash #.- raising of a musical note by a semitone (yes, this is pushing it a bit)
(It’s vitally important to get these things right, you know!)
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices
(Why does phpBB not let me add >5 links here?)
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices
(Why does phpBB not let me add >5 links here?)
-
- Site Admin
- Posts: 2945
- Joined: Sun Jul 08, 2018 5:46 am
- Location: Right here, probably
- Contact:
Re: Uses of the octothorp. (#)
Er, you guys know there was once a thing called a "typewriter", right?
Typewriters had a # sign because they were used in business for "number" and "pounds".
The ASCII table includes all the (US) typewriter symbols. All the computer uses arose because these symbols were available and not needed for ordinary text.
Typewriters had a # sign because they were used in business for "number" and "pounds".
The ASCII table includes all the (US) typewriter symbols. All the computer uses arose because these symbols were available and not needed for ordinary text.
Re: Uses of the octothorp. (#)
I don’t see how that contradicts any of what we said.
(The octothorp isn’t even the most egregious example of this. `~^\ barely existed at all before ASCII summoned them into being.)
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices
(Why does phpBB not let me add >5 links here?)
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices
(Why does phpBB not let me add >5 links here?)
- Man in Space
- Posts: 1694
- Joined: Sat Jul 21, 2018 1:05 am
Re: Uses of the octothorp. (#)
Has anybody here run into any other uses of the octothorpe ? # Yes, in the capacity I’ve used it in this comment.
-
- Site Admin
- Posts: 2945
- Joined: Sun Jul 08, 2018 5:46 am
- Location: Right here, probably
- Contact:
Re: Uses of the octothorp. (#)
I was grumping "kids these days", not contradicting.
But I do have a point, and it's that jcb got the cause and effect wrong. It's not "there are so many uses of # that they put it in ASCII." It's "They put # in ASCII, so there are many uses."
BTW, for more uses: # is sometimes used in phonology to mark word boundaries, which is why I support that in the SCA.
Re: Uses of the octothorp. (#)
Off-topic, but now I wonder when they stopped writing "USA" as "U.S.A.".
Re: Uses of the octothorp. (#)
I mean, programming languages repurpose existing symbols for all sorts of things anyway--see the use of a period for struct fields / object methods / etc.
Anyway, besides having multiple uses, I'm pretty sure this symbol has more names than any other symbol. The ones that come to mind include...
And yet, there is the programming language C# (C-sharp)!
Anyway, besides having multiple uses, I'm pretty sure this symbol has more names than any other symbol. The ones that come to mind include...
- Pound sign
- Hash sign
- Number sign
- Octothorpe
LingEarth the Earthling
she/her
she/her
Re: Uses of the octothorp. (#)
The programming language INTERCAL (which gives new names to everything, in line with its goal to, to the greatest degree possible, use only constructions not found in any other language) calls it a mesh.
Re: Uses of the octothorp. (#)
Why "Pound sign"? Isn't the Pound sign this: £ ?
- WeepingElf
- Posts: 1513
- Joined: Sun Jul 15, 2018 12:39 pm
- Location: Braunschweig, Germany
- Contact:
Re: Uses of the octothorp. (#)
Because it apparently has been used as an abbreviation for lb., though I have only heard of that and never seen it, but it has been mentioned in this thread.
... brought to you by the Weeping Elf
My conlang pages
My conlang pages
- Man in Space
- Posts: 1694
- Joined: Sat Jul 21, 2018 1:05 am
Re: Uses of the octothorp. (#)
Weight, not currency.
Re: Uses of the octothorp. (#)
I did actually already say that
For those who were confused by zompist's reference to the "typewriter", it was a mechanical device somewhat like a laptop with a built-in printer but no screen.
Self-referential signatures are for people too boring to come up with more interesting alternatives.
Re: Uses of the octothorp. (#)
Now I feel old in that my family had a typewriter... and not an electric one either... when I was a kid.
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Re: Uses of the octothorp. (#)
I didn't mean to imply the former; I know that it's the latter.But I do have a point, and it's that jcb got the cause and effect wrong. It's not "there are so many uses of # that they put it in ASCII." It's "They put # in ASCII, so there are many uses."
I now realize I explained this poorly. I should've said something like: It's somewhat surprising that they put it in ASCII despite the few use cases (marking numbers and pounds). The use cases increased because people needed more symbols for things, but didn't have many to choose from in a pre-unicode era, but the octothorpe was there and available to be used. So now in 2023 we have this diversely (but still comparatively rarely, compared to other ASCII characters) used symbol in ASCII, the most basic of encodings.
I mean, compare this to a section break symbol ( https://en.wikipedia.org/wiki/Section_(typography) ). Why didn't the asterism (⁂) or fleuron (❦) get put onto typewriters (and then into ASCII) ?
I didn't know that you derived this from some linguistics standard. I thought that you introduced that use yourself.BTW, for more uses: # is sometimes used in phonology to mark word boundaries, which is why I support that in the SCA.
So, as an answer to a question ? Interesting.Has anybody here run into any other uses of the octothorpe ? # Yes, in the capacity I’ve used it in this comment.
Re: Uses of the octothorp. (#)
Pedantically, what do you mean by 'on every keyboard'? It's not in the Thai (software) keyboard layout, which does have the four characters /-.,. (On the other hand, physical Thai computer keyboards do have the ASCII characters 'engraved' on them.)
- Man in Space
- Posts: 1694
- Joined: Sat Jul 21, 2018 1:05 am
Re: Uses of the octothorp. (#)
Not quite. It’s in response to some comment. Somebody says X; you quote them directly, place an octothorp, and then provide your own comment.
-
- Site Admin
- Posts: 2945
- Joined: Sun Jul 08, 2018 5:46 am
- Location: Right here, probably
- Contact:
Re: Uses of the octothorp. (#)
But that's why I brought up the typewriter. They put it in ASCII because it was on the typewriter.
That I can't say for sure, but # had uses in business, which was the first market for typewriters. Both your examples are what are apparently called dinkuses, which are the domain of printers, not writers.I mean, compare this to a section break symbol ( https://en.wikipedia.org/wiki/Section_(typography) ). Why didn't the asterism (⁂) or fleuron (❦) get put onto typewriters (and then into ASCII) ?
Edit: smh at Google, which is now convinced I'm in the market for an old typewriter.