Please rename cg-X* to something else

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Please rename cg-X* to something else

From: Pavel Roskin <hidden>
Date: 2016-06-15 22:41:56

Hello!

Since cg-X* scripts are not supposed to be used by the end users, I
suggest that we rename them so something not starting with "cg-" or even
"cg" so that tab completion in bash doesn't show them.  I suggest "_cgX"
instead of "cg-X"

In the long term, the internal scripts should go to
$prefix/share/cogito, but it would require generating other scripts from
templates to substitute $prefix, which could be inconvenient at this
stage.

-- 
Regards,
Pavel Roskin

Re: Please rename cg-X* to something else

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:41:56

Pavel Roskin wrote:
Hello!

Since cg-X* scripts are not supposed to be used by the end users, I
suggest that we rename them so something not starting with "cg-" or even
"cg" so that tab completion in bash doesn't show them.  I suggest "_cgX"
instead of "cg-X"

In the long term, the internal scripts should go to
$prefix/share/cogito, but it would require generating other scripts from
templates to substitute $prefix, which could be inconvenient at this
stage.
$prefix/libexec/cogito rather...

Pattern-substituting in bulk isn't really very hard.

	-hpa

Re: Please rename cg-X* to something else

From: Mads Martin Joergensen <hidden>
Date: 2016-06-15 22:41:56

* H. Peter Anvin [off-list ref] [May 06. 2005 00:32]:
$prefix/libexec/cogito rather...
These days FHS dictates $prefix/lib/cogito.

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help