[Bug 782] Need new lsbinstall command

[email protected]
Newsgroups gmane.linux.lsb.specification
Message-ID <[email protected]>


------- Additional Comments From [email protected]  2005-04-05 11:23 -------
> profile scripts
What I would like to see is not only support for SH-type of shells (posix, bash,
ksh, ash, zsh), but also for C-Shells (csh, tcsh), maybe using the extension
*.csh. Since the lsbinstall command supports only *.sh by default, this could
then easily be added.

While I would say that "*.sh scripts shall use only POSIX sh commands", I think
"*.csh should use only C shell commands", i.e. the use of TCSH is not
explicitely forbidden, but only discouraged. (Well, using $?tcsh one can find
out which csh is present. Using /bin/ls -l /proc/$$/exe to find whether this is
a bash is probably not the best method ;)

(As a side note: SUSE does meanwhile support /etc/profile.d/*.{sh,bash,csh,tcsh}
[I'm actually unsure about ./*.bash].)

Reasoning for the *.csh support:
While CSH is not POSIX and not as widely used, many users use it. At our
department tcsh used to be the default for the users (no bash) which means that
there are users which request tcsh (at other places). We have currently 412 bash
and 503 tcsh users. Since csh and sh are widely incompatible and it should
possible to provide these options to both groups of users, I think it is
important to support *.csh as well.   
 
--    
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.