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

awk script in show_paragraphs function must not escape '%' #2

Open
rcspam opened this issue Oct 27, 2024 · 0 comments
Open

awk script in show_paragraphs function must not escape '%' #2

rcspam opened this issue Oct 27, 2024 · 0 comments

Comments

@rcspam
Copy link

rcspam commented Oct 27, 2024

$  shlorem -s en p 1
awk: cmd. line:1: warning: regexp escape sequence `\%' is not a known regexp operator
Once upon a midnight dreary, while I pondered, weak and weary. Over many a quaint and curious volume of forgotten lore.  While I nodded, nearly napping, suddenly there came a tapping.**Describe the bug**
A clear and concise description of what the bug is.

you have to replace in line 127 ( in show_paragraphs function )

awk '{gsub(/\./,".\n"); gsub(/\%/,",\n"); print;}'`

by

awk '{gsub(/\./,".\n"); gsub(/%/,",\n"); print;}' 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant