Anyone working on implementing ':r! cmd' for vi applet

Jason Pena jasonpena at awkless.com
Mon Feb 12 18:18:37 UTC 2024


Hello, I am wondering if anyone is currently working on implementing the
':r! cmd' colon command for the vi applet?

If no one is working on this, then I have work-in-progress patch that attempts
to implement ':r! cmd' by modifing "read" in colon() to use popen() to open a
pipe to process the shell command, and fgets() to get the output of the shell
command to be read into the current edit buffer using string_insert().


More information about the busybox mailing list