Skip to content

Commit

Permalink
escapted $line in shell: to prevent expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
L.Schmidt committed Mar 20, 2022
1 parent 601fcff commit b47e027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/defining/shell
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ once

: shell:
"eval " word$ dup$ create$ \ forth name is command name
" $line" join$ quote$ join$ \ add command line to command, then quoted command as args to eval
" \$line" join$ quote$ join$ \ add command line to command, then quoted command as args to eval
"; line=" join$ use$ ; \ command consumes line.

only forth
Expand Down

0 comments on commit b47e027

Please sign in to comment.