awsaml icon indicating copy to clipboard operation
awsaml copied to clipboard

White-space characters in the copy-pasta box break some shells

Open jmanero-r7 opened this issue 8 years ago • 1 comments

The code-box with generated export ENVAR commands has some trailing white-space characters that break Bash due to slight variations in OS's clipboard semantics AFAIK. On OS X, copy-pasting both lines works as expected. However, on an Ubuntu/Unity desktop, I've observed this breaking the boto/python based aws-cli. Copy-pasting each line individually, being careful not to select past the last printable-character, fixes the issue.

jmanero-r7 avatar May 27 '16 14:05 jmanero-r7

@jmanero-r7 in #78 I use clipboard.js for selections. We could likely use it to add a copy button on that page as well. @rfennell-r7 pointed this out over my shoulder as well as seeing this issue in the backlog.

erran-r7 avatar Oct 05 '16 16:10 erran-r7