News for hackers. Stuff that matters.
Re:Show HN: Command Line Challenge by zoidb on Thursday January 26, 2017 @02:17PM (#13494344)
Every command is in a new subshell
Re:Show HN: Command Line Challenge by contras1970 on Thursday January 26, 2017 @03:01PM (#13494779)
That may be true but the message from grep shows that $! wasn't expanded by the execution evironment.

BTW i get

  # Print "hello world".
  # Hint: There are many ways to print text on
  # the command line, one way is with the 'echo'
  # command.
  # 
  # Try it below and good luck!
  # 
  bash(0)> printf "hello world"
  Internal Server Error
  bash(️)>
Re:Show HN: Command Line Challenge by groner on Thursday January 26, 2017 @06:09PM (#13496239)
history expansion is normally only enabled for interactive shells. They could turn it on, but if there isn't any history because this isn't really interactive, it wouldn't do anything useful.