Skip to content

Commit 4a48c9e

Browse files
authored
Merge pull request #9126 from mattsu2020/fold_fix
fix(fold): GNU fold-characters.sh test
1 parent 5bb907b commit 4a48c9e

File tree

7 files changed

+378
-67
lines changed

7 files changed

+378
-67
lines changed

.vscode/cspell.dictionaries/jargon.wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ pseudoprimes
120120
quantiles
121121
readonly
122122
reparse
123+
rposition
123124
seedable
124125
semver
125126
semiprime

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/uu/fold/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ path = "src/fold.rs"
2121
clap = { workspace = true }
2222
uucore = { workspace = true }
2323
fluent = { workspace = true }
24+
unicode-width = { workspace = true }
2425

2526
[dev-dependencies]
2627
divan = { workspace = true }

src/uu/fold/locales/en-US.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ fold-about = Writes each file (or standard input if no files are given)
22
to standard output whilst breaking long lines
33
fold-usage = fold [OPTION]... [FILE]...
44
fold-bytes-help = count using bytes rather than columns (meaning control characters such as newline are not treated specially)
5+
fold-characters-help = count using character positions rather than display columns
56
fold-spaces-help = break lines at word boundaries rather than a hard cut-off
67
fold-width-help = set WIDTH as the maximum line width rather than 80
78
fold-error-illegal-width = illegal width value

src/uu/fold/locales/fr-FR.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
fold-about = Écrit chaque fichier (ou l'entrée standard si aucun fichier n'est donné) sur la sortie standard en coupant les lignes trop longues
22
fold-usage = fold [OPTION]... [FICHIER]...
33
fold-bytes-help = compter en octets plutôt qu'en colonnes (les caractères de contrôle comme retour chariot ne sont pas traités spécialement)
4+
fold-characters-help = compter en caractères plutôt qu'en colonnes d'affichage
45
fold-spaces-help = couper les lignes aux limites de mots plutôt qu'à une largeur fixe
56
fold-width-help = définir WIDTH comme largeur de ligne maximale au lieu de 80
67
fold-error-illegal-width = valeur de largeur illégale

0 commit comments

Comments
 (0)