0
0
Fork
You've already forked PySh
0

Support for $() (Command Substitution) #4

Open
opened 2025年06月26日 04:11:43 +02:00 by XADE · 0 comments
Owner
Copy link

Command Substitution: $()

  • When the parser encounters $(...), it should execute the command inside the parentheses and substitute the output in place.
  • Example:
    echo $(date)
    
    Should output the current date and time
**Command Substitution: `$()`** - When the parser encounters `$(...)`, it should execute the command inside the parentheses and substitute the output in place. - Example: ```bash echo $(date) ``` Should output the current date and time
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zz/PySh#4
Reference in a new issue
zz/PySh
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?