[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#33156: debian-policy: Cannot find referenced file in given URL



On Wed, Mar 03, 1999 at 06:10:10PM +0000, Ian Jackson wrote:
> Hamish Moffatt writes ("Re: Bug#33156: debian-policy: Cannot find referenced file in given URL"):
> ...
> > Maintainer scripts should be written in posix or bash; no argument there.
> > However, upstream should be free to use whatever scripting language it
> > wants.
> 
> Is anyone disputing this ?
> 
> The policy in question says:
> 
>  csh and tcsh should be avoided as scripting languages. See Csh
>  Programming Considered Harmful, one of the comp.unix.* FAQs. It can be
>  found on rtfm.mit.edu in PATHNAME.  If an upstream package comes with
>  csh scripts then you must make sure that they start with #!/bin/csh
>  and make your package depend on the c-shell virtual package.
> 
> Is this not accurate ?

Perhaps we can change this to a definate `maintainer scripts should not use 
csh', then lintian can be modified to check for this only, rather than
complaining about all csh scripts (even those in /usr/doc/.../examples).

The only non-arguable reason for using csh that I've seen here is that
it's not standard, where bash is. All the rest is a matter of opinion
(including everything in "Csh Programming Considered Harmful").


thanks,
Hamish
-- 
Hamish Moffatt VK3TYD              hamish@debian.org, hamish@rising.com.au
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Reply to: