Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expr: remove manual word breaks in pod #913

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

mknos
Copy link
Contributor

@mknos mknos commented Jan 7, 2025

  • Similar to recent commit for uniq: 4d22ee8
  • Breaking up words like "re-\nturn" gets in the way of the pod formatter
--- pod0	2025-01-07 12:33:58.825372933 +0800
+++ pod1	2025-01-07 12:35:15.441604917 +0800
@@ -24,8 +24,8 @@
 
     expr1 {=, >, >=, <, <=, !=} expr2
         Returns the results of integer comparison if both arguments are
-        integers; otherwise, returns the results of string comparison us-
-        ing the locale-specific collation sequence. The result of each
+        integers; otherwise, returns the results of string comparison using
+        the locale-specific collation sequence. The result of each
         comparison is 1 if the specified relation is true, or 0 if the
         relation is false.
 
@@ -34,8 +34,8 @@
         arguments.
 
     expr1 {*, /, %} expr2
-        Returns the results of multiplication, integer division, or re-
-        mainder of integer-valued arguments.
+        Returns the results of multiplication, integer division, or
+        remainder of integer-valued arguments.
 
     expr1 : expr2
         The ``:'' operator matches expr1 against expr2, which must be a
@@ -43,9 +43,9 @@
         beginning of the string with an implicit ``^''. The regular
         expression language is perlre(1).
 
-        If the match succeeds and the pattern contains at least one regu-
-        lar expression subexpression ``(...)'', the string correspond- ing
-        to ``$1'' is returned; otherwise the matching operator re- turns the
+        If the match succeeds and the pattern contains at least one regular
+        expression subexpression ``(...)'', the string corresponding to
+        ``$1'' is returned; otherwise the matching operator returns the
         number of characters matched. If the match fails and the pattern
         contains a regular expression subexpression the null string is
         returned; otherwise 0.

* Similar to recent commit for uniq: 4d22ee8
* Breaking up words like "re-\nturn" gets in the way of the pod formatter
@github-actions github-actions bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: expr The expr program labels Jan 7, 2025
@mknos mknos had a problem deploying to automated_testing January 7, 2025 04:42 — with GitHub Actions Failure
@mknos mknos had a problem deploying to automated_testing January 7, 2025 04:42 — with GitHub Actions Failure
@mknos mknos had a problem deploying to automated_testing January 7, 2025 04:42 — with GitHub Actions Failure
@mknos mknos had a problem deploying to automated_testing January 7, 2025 04:43 — with GitHub Actions Failure
@briandfoy briandfoy added Type: documentation fix the docs and removed Type: enhancement improve a feature that already exists labels Jan 7, 2025
@briandfoy briandfoy merged commit 39c99b9 into briandfoy:master Jan 7, 2025
1 of 22 checks passed
@briandfoy briandfoy removed the Priority: low get to this whenever label Jan 7, 2025
@briandfoy briandfoy added the Status: accepted The fix is accepted label Jan 7, 2025
@briandfoy briandfoy self-assigned this Jan 7, 2025
@briandfoy
Copy link
Owner

changes: unhyphenated some hard-coded line wrapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program: expr The expr program Status: accepted The fix is accepted Type: documentation fix the docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants