dterm icon indicating copy to clipboard operation
dterm copied to clipboard

Command sub-invocations

Open brechtcs opened this issue 6 years ago • 0 comments

In the original specifications for Webterm, Paul proposed the following syntax for command sub-invocations:

# basic usage
> change-case -u (hello-world)
HELLO, WORLD!

# nested invocations
> concat (change-case -u (hello-world)) (change-case -l (hello-world))
HELLO, WORLD! hello, world!

In dterm I decided to prioritise support for iterators, which makes this slightly less straigtforward. It's still on the roadmap though, just have to figure how cases like this are handled in Bash for example.

brechtcs avatar May 24 '19 06:05 brechtcs