TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Recreated sources for the book “UNIX Text Processing,” published in 1987

138 pointsby rdpintqogeogsaaover 3 years ago

9 comments

jgtroshover 3 years ago
The archive.org [1] page has a preformatted version and more info.<p>[1]: <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;utp_book&#x2F;page&#x2F;n3&#x2F;mode&#x2F;2up" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;utp_book&#x2F;page&#x2F;n3&#x2F;mode&#x2F;2up</a>
评论 #30397095 未加载
2b3a51over 3 years ago
Just had to try running this on Slackware 15 with the groff that is part of the install. The git source has a hardwired path to ghostscript&#x2F;9.53.3&#x2F;..some font. Just symlinked to the 9.55.0 present in Slackware and there we are, a pdf file, with some warnings about bookmarks and a table with zero width spacing. Impressive work.<p>Thanks to those responsible for this both for the book <i>and</i> for an example of how to produce a book with groff using the ms macros.
bediger4000over 3 years ago
I kept my resume in troff from maybe late 80s until early 2017. troff is really weird, a genuinely different kind of text formatting. The fact that something as commonplace as text formatting can have such divergent methods as troff, lout and TeX has kept me looking for things like different pattern matching, something not at all like regular expressions.
评论 #30398648 未加载
评论 #30404239 未加载
评论 #30400609 未加载
elvis70over 3 years ago
Previous discussion about this book (2012): <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4902595" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4902595</a>
bombcarover 3 years ago
Most people assume UNIX typesetting was always just TeX - but troff and friends was probably more widespread at the time.
评论 #30398515 未加载
评论 #30399797 未加载
Alohaover 3 years ago
This is great. I&#x27;ve long had a paper copy on my bookshelf.<p>I did notice when building this on OSX changing the makefile to call env to get groff and awk is required to work with homebrew.<p>I did submit an issue on the github about this however.
评论 #30400579 未加载
contingenciesover 3 years ago
Notes from W. Richard Stevens on the subject @ <a href="http:&#x2F;&#x2F;www.kohala.com&#x2F;start&#x2F;#typesetting" rel="nofollow">http:&#x2F;&#x2F;www.kohala.com&#x2F;start&#x2F;#typesetting</a>
kickingvegasover 3 years ago
Related: &quot;Unix™ NROFF&#x2F;TROFF A User&#x27;s Guide&quot; by Kevin P. Roddy got me through all my troff-related work back in the day.
jmclnxover 3 years ago
I actually have that book :) I thought it was very informative.