Problem
Right now hosh provides two very unusable commands for output redirection:
cmd | open file WRITE CREATE
cmd | capture VAR
Solution
> file alias for open file WRITE CREATE
>> file alias for open file APPEND
`cmd` for capture
Benefit
- much more easy to use syntax
- easier migration from other shells
Problem
Right now hosh provides two very unusable commands for output redirection:
cmd | open file WRITE CREATEcmd | capture VARSolution
> filealias foropen file WRITE CREATE>> filealias foropen file APPEND`cmd`forcaptureBenefit