pgvm icon indicating copy to clipboard operation
pgvm copied to clipboard

create a lib to handle generic things

Open guedes opened this issue 13 years ago • 1 comments

Today pgvm is all in bash, but talking with @fabriziomello, @lhcezar and @fike, we think that this could be split into more layers. The actual internal file structure is stable and this could be a good signal to create a plumbing lib.

guedes avatar Jul 29 '12 13:07 guedes

How think implementation? I think two ways:

1 - Adapt builtin commands and options to Bourne Shell (sh). Probably will have the codeline is much more or more pipes. (I think was in the past but I have that test again)

2 - Create new function that make the translation between shell implementations or similar strategy. Which are supported?

  • bash

  • ksh

  • sh

  • zsh

    Now, I prefer first option but I think more discussion. :)

fike avatar Aug 27 '12 22:08 fike