threads / discuss / 492

Please rename cg-X* to something else

Subject: Please rename cg-X* to something else

## tl;dr

3 messages between May 5, 2005 and May 6, 2005.

replies: 2people: 3as markdown or json

Pavel Roskin· May 5, 2005, 21:37 UTC · lore
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
H. Peter Anvin· May 5, 2005, 22:31 UTC · re: Pavel Roskin · lore

Re: Please rename cg-X* to something else

Pavel Roskin wrote:
Show 12 quoted lines
> 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
Mads Martin Joergensen· May 6, 2005, 12:42 UTC · re: H. Peter Anvin · lore

Re: Please rename cg-X* to something else

* H. Peter Anvin <hpa@zytor.com> [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.

← back to recent threads