Skip to content

Allow -n / -s with -c#7

Open
Synse wants to merge 5 commits intojayswan:masterfrom
Synse:master
Open

Allow -n / -s with -c#7
Synse wants to merge 5 commits intojayswan:masterfrom
Synse:master

Conversation

@Synse
Copy link
Copy Markdown
Contributor

@Synse Synse commented May 15, 2024

This PR allows -n (newline) or -s (space) with -c (comma).

Before

~ echo "foo,bar,baz" | qu -cs -q2
"foo","bar","baz"~ echo "foo,bar,baz" | qu -cn -q1
'foo','bar','baz'

After

~ echo "foo,bar,baz" | qu -cs -q2
"foo", "bar", "baz"~ echo "foo,bar,baz" | qu -cn -q1
'foo',
'bar',
'baz'~ echo "foo,bar,baz" | qu -c -q2  # confirming -n/-s is optional
"foo","bar","baz"

@Synse Synse changed the title Allow -s with -c Allow -n / -s with -c May 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant