Skip to content

Conversation

@mbailey
Copy link
Owner

@mbailey mbailey commented Jan 19, 2020

A one-liner using echo is much more readable but risks
problems from arguments with special characters (e.g. -n)

  • Provide a format string to printf
  • Remove need for subshell
  • Make it (marginally?) more readable

A one-liner using `echo` is much more readable *but* risks
problems from arguments with special characters (e.g. `-n`)

- Provide a format string to printf
- Remove need for subshell
- Make it (marginally?) more readable
@mbailey mbailey merged commit 85eb031 into master Jan 19, 2020
@mbailey mbailey deleted the refactor-skim-stdin-again branch January 19, 2020 06:07
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.

2 participants