Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6b33eb40
Commit
6b33eb40
authored
Jul 29, 1993
by
Richard M. Stallman
Browse files
(Man-filter-list): Insert \n newlines in awk script.
parent
16ae08a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lisp/man.el
lisp/man.el
+6
-6
No files found.
lisp/man.el
View file @
6b33eb40
...
...
@@ -147,12 +147,12 @@ the associated section number.")
"-e '/^Sun Release [0-9].*[0-9]$/d'"
"-e '/^\\n$/D'"
))
(
"awk '"
(
"BEGIN { blankline=0; anonblank=0; }"
"/^$/ { if (anonblank==0) next; }"
"{ anonblank=1; }"
"/^$/ { blankline++; next; }"
"{ if (blankline>0) { print \"\"; blankline=0; } print $0; }"
(
"awk '
\n
"
(
"BEGIN { blankline=0; anonblank=0; }
\n
"
"/^$/ { if (anonblank==0) next; }
\n
"
"{ anonblank=1; }
\n
"
"/^$/ { blankline++; next; }
\n
"
"{ if (blankline>0) { print \"\"; blankline=0; } print $0; }
\n
"
"'"
))
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment