Skip to contentSkip to conversation

Please rename cg-X* to something else

DISCUSSION Pavel Roskin 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Regards,
Pavel Roskin
#1 lore raw
Quoted 7 lines · Pavel Roskin

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"

Quoted 5 lines

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

#2 lore raw
Quoted 2 lines · H. Peter Anvin

$prefix/libexec/cogito rather...

These days FHS dictates $prefix/lib/cogito.

Signature · 4 lines
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.