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

Wrap rather than modify most text tools #78

Open
4 of 7 tasks
dspinellis opened this issue Apr 11, 2017 · 1 comment
Open
4 of 7 tasks

Wrap rather than modify most text tools #78

dspinellis opened this issue Apr 11, 2017 · 1 comment
Assignees

Comments

@dspinellis
Copy link
Owner

dspinellis commented Apr 11, 2017

Many tools can be wrapped with a script, rather than modified. This reduces the scope for errors, simplifies porting, allows dgsh to use each system's native tool versions, and improves build speed.

  • paste (coreutils)
  • join (coreutils)
  • sort (coreutils)
  • diff (note the GNU --from-file and --to-file options)
  • diff3
  • cmp (currently not available as a modified binary)
  • dgsh-wrap (update so that it can participate in negotiation with flexible IO requirements, with a (arbitrary) as the number of I/O channels)

Still requiring custom implementation:

  • coreutils/comm (provides 0-3 outputs)
  • coreutils/cut (provids 1-N outputs)
  • grep/grep (provides 0-4 outputs)
@mfragkoulis mfragkoulis self-assigned this Apr 16, 2017
@dspinellis
Copy link
Owner Author

The wrapping needs to take place through a shell script that will collect and examine their arguments. When file arguments are provided, the commands should not accept any input, unless one or more of these file arguments are -.

@dspinellis dspinellis self-assigned this Apr 16, 2017
dspinellis added a commit that referenced this issue Aug 19, 2017
dspinellis added a commit that referenced this issue Aug 20, 2017
dspinellis added a commit that referenced this issue Aug 20, 2017
dspinellis added a commit that referenced this issue Aug 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants