Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of printing of newlines (strange echo behaviour) #18

Open
jrandall opened this issue Feb 18, 2014 · 2 comments
Open

Order of printing of newlines (strange echo behaviour) #18

jrandall opened this issue Feb 18, 2014 · 2 comments
Labels

Comments

@jrandall
Copy link

The order in which the command-line input newline is echoed and the stdout from the command is echoed appears to be nondeterministic?

$echo "echo with a newline"
echo with a newline
$echo "echo with a newline"
echo with a newline
$echo "echo with a newline"echo with a newline

$echo "echo with a newline"echo with a newline

$echo "echo with a newline"
echo with a newline
$echo "echo with a newline"
echo with a newline
$echo "echo with a newline"
echo with a newline
$echo "echo with a newline"echo with a newline

$echo "echo with a newline"
echo with a newline
$echo "echo with a newline"echo with a newline

$echo "echo with a newline"echo with a newline
@jrandall
Copy link
Author

$ls
foo1  foo2  foo3
$ls
foo1  foo2  foo3
$ls
foo1  foo2  foo3
$ls
foo1  foo2  foo3
$lsfoo1  foo2  foo3

$ls
foo1  foo2  foo3
$ls
foo1  foo2  foo3
$ls
foo1  foo2  foo3
$ls
foo1  foo2  foo3
$ls
foo1  foo2  foo3
$lsfoo1  foo2  foo3

@nc6 nc6 added the bug label Feb 18, 2014
@nc6
Copy link
Owner

nc6 commented Feb 18, 2014

This is almost certainly a race condition somewhere. I'm struggling to replicate it. Think this will be low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants