MacBook-Pro-3:√ Desktop/justify % fmt -w 55 justifypost.txt In 9th grade I had fooled around with programming in APL. The little room in the junior high had two Selectric-based terminals, which connected to a remote computer using an old-school acoustic coupler with a phone handset shoved into it, IIRC. The ball that was on the Selectric had uppercase alphabetical characters and APL special symbols on it - no lowercase. In graphic arts shop class a couple years before, we had learned to justify text. So I wrote an APL program that would justify text. I wish I had the code, or the result of it, still. My Dad had a Selectric at his University office. I found that I could use the ball from that on the APL terminal, and somehow wrote an English assignment into a string or file or something. With upper and lowercase. I managed to print it and was quite happy with how it turned out. Recently I wrote this program in Rust to do the same thing. It took me a little while. I don't think I am inherently any better at coding than I was in 9th grade, but I have more experience and know arcane facts about Linux and other computer stuff. Let's see how this looks, justified..... MacBook-Pro-3:√ Desktop/justify % fmt -w 55 justifypost.txt > postfmted.txt MacBook-Pro-3:√ Desktop/justify % justify 60 postfmted.txt zsh: command not found: justify 127 ⚠️ MacBook-Pro-3:?127 Desktop/justify % ./target/debug/justify 60 postfmted.txt In 9th grade I had fooled around with programming in APL. The little room in the junior high had two Selectric-based terminals, which connected to a remote computer using an old-school acoustic coupler with a phone handset shoved into it, IIRC. The ball that was on the Selectric had uppercase alphabetical characters and APL special symbols on it - no lowercase. In graphic arts shop class a couple years before, we had learned to justify text. So I wrote an APL program that would justify text. I wish I had the code, or the result of it, still. My Dad had a Selectric at his University office. I found that I could use the ball from that on the APL terminal, and somehow wrote an English assignment into a string or file or something. With upper and lowercase. I managed to print it and was quite happy with how it turned out. Recently I wrote this program in Rust to do the same thing. It took me a little while. I don't think I am inherently any better at coding than I was in 9th grade, but I have more experience and know arcane facts about Linux and other computer stuff. Let's see how this looks, justified..... MacBook-Pro-3:√ Desktop/justify %Think it looks better at 55:
In 9th grade I had fooled around with programming in APL. The little room in the junior high had two Selectric-based terminals, which connected to a remote computer using an old-school acoustic coupler with a phone handset shoved into it, IIRC. The ball that was on the Selectric had uppercase alphabetical characters and APL special symbols on it - no lowercase. In graphic arts shop class a couple years before, we had learned to justify text. So I wrote an APL program that would justify text. I wish I had the code, or the result of it, still. My Dad had a Selectric at his University office. I found that I could use the ball from that on the APL terminal, and somehow wrote an English assignment into a string or file or something. With upper and lowercase. I managed to print it and was quite happy with how it turned out. Recently I wrote this program in Rust to do the same thing. It took me a little while. I don't think I am inherently any better at coding than I was in 9th grade, but I have more experience and know arcane facts about Linux and other computer stuff. Let's see how this looks, justified.....
My Rust program needs some work to handle long lines and wrap them. I don't know if I will bother though. It maybe should also just not justify the last line of a paragraph. What's scary is Copilot just wrote a sentence for me about that. Progress marches on....