I’m stuck on Stage #GQ9.
I’ve tried … the dollar sign is printed before taking the input bit it’s shown at the result time.
Here are my logs:
$ cd ./raspberry/pear
remote: [tester::#GQ9] Output does not match expected value.
remote: [tester::#GQ9] Expected: "$ pwd"
remote: [tester::#GQ9] Received: "pwd"
remote: [your-program] pwd
remote: [your-program] $ /tmp/mango/raspberry/pear
remote: [your-program] $
And here’s a snippet of my input code:
System.out.print("$ ");
String input = scanner.nextLine();
// Current path is stored so it's directly printed
if(input.contains("pwd")) {
System.out.println(currpath);
}