Skip to content

Comments

Removed trailing newline on copy.#4

Open
johankj wants to merge 1 commit intoaiyodk:masterfrom
johankj:master
Open

Removed trailing newline on copy.#4
johankj wants to merge 1 commit intoaiyodk:masterfrom
johankj:master

Conversation

@johankj
Copy link

@johankj johankj commented Nov 11, 2013

The "run script" in the Wi-Fi Toggle-workflow could copy information from the network settings, but unfortunately also copied a newline.
A simple parameter passed to echo is enough to remove it.

Before:

echo "{query}" | pbcopy

After:

echo -n "{query}" | pbcopy

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