[ 
https://issues.apache.org/jira/browse/SSHD-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17676273#comment-17676273
 ] 

dgü commented on SSHD-1317:
---------------------------

Hello!

{quote}Conforming applications that wish to do prompting without <newline> 
characters or that could possibly be expecting to echo a -n, should use the 
printf utility derived from the Ninth Edition system.{quote}
Ref: https://pubs.opengroup.org/onlinepubs/9699919799/

If there is a newline character appended to _echo_ output, it can be removed 
programmatically to keep portability on Unix and Windows.


> Finding default shell and its escape, quote characters
> ------------------------------------------------------
>
>                 Key: SSHD-1317
>                 URL: https://issues.apache.org/jira/browse/SSHD-1317
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: dgü
>            Priority: Major
>
> Hello!
> I execute remote commands by exec channel. Arguments of the commands may 
> include shell ({_}sh{_},{_}cmd{_},...) special characters(ie: _^_ for 
> {_}cmd{_}). These special characters may work different on different shells. 
> So, I must escape or quote them.
> is it possible to find the followings by SSHD ? 
>  * Default shell of SSH server
>  * Escape character of shell
>  * Quote character of shell
> Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to