Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ed: shell command io #824

Merged
merged 1 commit into from
Nov 19, 2024
Merged

ed: shell command io #824

merged 1 commit into from
Nov 19, 2024

Commits on Nov 19, 2024

  1. ed: shell command io

    * Reject filenames starting with '!' for f command (other versions reject this)
    * Implement "r !cmd" in edEdit() to read output of a shell command into the editor buffer
    * Implement "w !cmd" in edWrite() to pass data from editor buffer to a shell command
    * test1: 2r !ifconfig ---> output from ifconfig is added after line 2
    * test2: 1,20w !cat -n ---> lines 1-20 from buffer are piped to "cat -n"
    mknos authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    2878e72 View commit details
    Browse the repository at this point in the history