Главная
Study mode:
on
1
Introduction
2
Use cases
3
grep example
4
cat example
5
Current limitations
6
Error output
7
Input
8
Slow commands
9
Output before error
10
Non-text output
11
Environment variables
12
A new system function
13
Argument specification
14
Variant options
15
Specifying environment variables
16
Specifying redirections
17
Specifying redirection targets
18
Specifying redirection sources
19
Default redirections
20
cat example revisited
21
tr example
22
Conclusion
Description:
Explore the limitations and potential improvements of using ⎕SH and ⎕CMD to run commands through the operating system's shell in this 18-minute conference talk from Dyalog '23. Delve into various use cases, including grep and cat examples, while examining current constraints such as error output handling, input management, and slow command execution. Learn about a proposed new system function designed to overcome these limitations, offering enhanced control over input/output redirections. Discover how to specify arguments, variant options, environment variables, and redirections with this new function. Gain insights into default redirections and see practical examples of how this improved functionality can be applied to common tasks like cat and tr commands.

Revisiting ⎕SH and ⎕CMD - Exploring Limitations and New System Functions

Dyalog User Meetings
Add to list
0:00 / 0:00