[HN Gopher] Xonsh is a Python-powered shell
___________________________________________________________________
Xonsh is a Python-powered shell
Author : EntICOnc
Score : 14 points
Date : 2022-02-24 17:46 UTC (5 hours ago)
(HTM) web link (xon.sh)
(TXT) w3m dump (xon.sh)
| assbuttbuttass wrote:
| This is a super cool idea, I'm surprised there isn't ambiguity in
| parsing shell commands vs python.
|
| For example if a user types "a | b", do they want to run process
| a and pipe it into b, or are they trying to bitwise or variables
| a and b?
| bobbylarrybobby wrote:
| There is ambiguity. "open .file" is parsed as "open.file",
| which is an error in Python
| gabrielsroka wrote:
| There's a Python mode and a subprocess mode.
|
| https://xon.sh/tutorial.html#python-mode-vs-subprocess-mode
___________________________________________________________________
(page generated 2022-02-24 23:02 UTC)