summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-15 09:22:14 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-15 09:22:14 -0600
commit507088b1014c2ebc08a60b37d8421a19e9838e36 (patch)
tree690e7ee4b9f5d483925d49f1ee8ab9b8e81047f1 /HACKING
parent87d0b5e0ef2733f53a856f27c70fabac216f68cd (diff)
downloadgroff-git-507088b1014c2ebc08a60b37d8421a19e9838e36.tar.gz
HACKING: Clarify item.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING2
1 files changed, 1 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index 54ca770e7..4f143c95c 100644
--- a/HACKING
+++ b/HACKING
@@ -115,7 +115,7 @@ Here are some portability notes on writing automated tests.
* POSIX doesn't say that sed has to accept semicolons as command
separators after label (':') and branch ('t') commands, or after brace
- commands, so it doesn't. GNU sed does.
+ commands, so macOS sed doesn't. GNU sed does.
So rewrite tidy, compact sed scripts like this:
sed -n '/Foo\./{n;s/^$/FAILURE/;tA;s/.*/SUCCESS/;:A;p}'