We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Linux Shell
- Bash
- A Personalized Echo
- Discussions
A Personalized Echo
A Personalized Echo
Sort by
recency
|
141 Discussions
|
Please Login in order to post a comment
I know this is a beginner-level challenge, but I'm surprised the test cases are so kind. The
echo
command does not emit all its input completely literally—it will transform escaped characters, for example. And feeding the input throughread
and then double-quoted string can mangle things too.read -p "Dane" name
echo "Welcome $name"
This also works:
It's weird, I know.