Artifact
d6582cb760eb4c00a1ce5f764bfdba0fafd8b472:
Ticket change
[d6582cb760]
- New ticket
[b50fb21410dababc|b50fb21410] <i>exec redirection to append stdout and stderr to the same file</i>.
by
pooryorick
2017-08-24 09:31:53.
D 2017-08-24T09:31:53.363
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment In\sthe\sfollowing\sexample\sboth\sstdout\sand\sstderr\sare\sredirected\sto\sappend\sto\sthe\r\nsame\sfile:\r\n\r\n<code><verbatim>\r\nexec\ssh\s-c\s{echo\shello;\secho\sgoodbye\s>&2;\secho\shello\sagain;\secho\sgoodbye\sagain\s>&2}\s>>output\s2>>output\r\n</verbatim></code>\r\n\r\nThe\sfile\snamed\s"output"\scontains\sboth\s"goodbye"\slines,\sbut\sno\s"hello\slines".
J foundin 8.6.6
J is_private 0
J login pooryorick
J priority 5\sMedium
J private_contact e476148cded301ffff84bcdc432536dc0c949e88
J resolution None
J severity Minor
J status Open
J submitter pooryorick
J subsystem 16.\sCommands\sA-H
J title exec\sredirection\sto\sappend\sstdout\sand\sstderr\sto\sthe\ssame\sfile
J type Bug
K b50fb21410dababca95baa122964b2e312cb9d8a
U pooryorick
Z 6cd5c91e090def09c4b07cc52c7b8aff