On Fri 13 Nov 2015 at 14:43:39 (+0100), to...@tuxteam.de wrote: > (as an aside: it's bad custom inherited from DOS to name shell scripts > with an .sh ending. No ending is the right thing here).
So these were all DOS scripts once, were they? -rwxr-xr-x 1 root root 1248 Apr 21 2014 /etc/init.d/bootmisc.sh* -rwxr-xr-x 1 root root 3807 Apr 21 2014 /etc/init.d/checkfs.sh* -rwxr-xr-x 1 root root 1072 Apr 21 2014 /etc/init.d/checkroot-bootclean.sh* -rwxr-xr-x 1 root root 9290 Apr 17 2014 /etc/init.d/checkroot.sh* -rwxr-xr-x 1 root root 1423 Dec 31 2010 /etc/init.d/hostname.sh* -rwxr-xr-x 1 root root 3916 Oct 15 2014 /etc/init.d/hwclock.sh* -rwxr-xr-x 1 root root 677 Apr 21 2014 /etc/init.d/mountall-bootclean.sh* -rwxr-xr-x 1 root root 2138 Apr 21 2014 /etc/init.d/mountall.sh* -rwxr-xr-x 1 root root 1461 Apr 21 2014 /etc/init.d/mountdevsubfs.sh* -rwxr-xr-x 1 root root 1564 Apr 21 2014 /etc/init.d/mountkernfs.sh* -rwxr-xr-x 1 root root 685 Apr 21 2014 /etc/init.d/mountnfs-bootclean.sh* -rwxr-xr-x 1 root root 2456 Apr 21 2014 /etc/init.d/mountnfs.sh* -rwxr-xr-x 1 root root 2202 Apr 21 2014 /etc/init.d/umountnfs.sh* I name my scripts in ~/bin with an extension corresponding to their contents: .pl .py .sh etc. Where I'm working on alternative versions, I might have more than one language. Extensionless filenames are either links or binaries. What's bad about this? Or is it just snobbery: Look, we don't need extensions. Cheers, David.