HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Show HN: $ | Hacker News Reader
Show HN: $
github.com
19 points
·
ChristianBundy
·
·
5 comments
Open article
Save
View on HN
chatmasta
·
Except now you can't start your commands with $...
nilved
·
Presumably you can't start your commands with "sh" either!
throw_away
·
all shell expansions work as expected (even constructions like $(cmd)). I can't think of any other use where I start a command with a '$'.
ChristianBundy
(original poster)
·
Can you give me an example of a command where this wouldn't work? You can still do command substitution with `$`, as seen below:
$(echo pwd) | $ xargs echo
chatmasta
·
Yeah, I was unable to execute $!
Reply on news.ycombinator.com