Created
August 24, 2017 14:46
-
-
Save trantor/90b8e9eda601c267b09e6c39a9eb1c9d to your computer and use it in GitHub Desktop.
Sample dgsh errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dgsh | |
# Entering dgsh interactively | |
$ cat test1 | |
a | |
b | |
c | |
e | |
$ cat test2 | |
. | |
$ grep -f test2 test1 | |
a | |
b | |
c | |
e | |
$ {{ cat test2 & cat test1 & }} | grep -f - | |
a | |
b | |
c | |
e | |
$ cat test1 | tee | {{ {{ cat test2 & cat & }} | grep -f - & cat & }} | cat | |
dgsh: syntax error near unexpected token `}}' | |
# Sample script containing what IMO should be equivalent to the one-liner above | |
$ cat dgsh-sample | |
cat test1 | | |
tee | | |
{{ | |
{{ | |
cat test2 & | |
cat & | |
}} | | |
grep -f - & | |
cat & | |
}} | | |
cat | |
$ ./dgsh-sample | |
� ����0rF� dgsh-tee���� | |
8396 dgsh: timeout for negotiation. Exit. | |
8397 dgsh: timeout for negotiation. Exit. | |
8399 dgsh: timeout for negotiation. Exit. | |
8393 dgsh: timeout for negotiation. Exit. | |
8400 dgsh: timeout for negotiation. Exit. | |
8402 dgsh: timeout for negotiation. Exit. | |
8395 dgsh: timeout for negotiation. Exit. | |
8401 dgsh: timeout for negotiation. Exit. | |
8404 dgsh: timeout for negotiation. Exit. | |
8403 dgsh: timeout for negotiation. Exit. | |
# I leave the dgsh shell and re-enter | |
$ exit | |
$ dgsh | |
$ ./dgsh-sample | |
a | |
b | |
c | |
e | |
grep: write error | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment