Skip to content

Any way to send text with newlines with signal-cli? #653

Answered by exquo
garryadkins asked this question in Q&A
Discussion options

You must be logged in to vote

If typing a message on the command line, press Enter inside an un-closed quote:

signal-cli send +1234567890 -m 'multi  <Press Enter here>
line message'

In bash it's also possible to put \n chars inside the $'string's:

signal-cli send +1234567890 -m $'multi\nline'

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Kweazll
Comment options

Answer selected by AsamK
Comment options

You must be logged in to vote
1 reply
@Kweazll
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants