Jump to content

Rosetta Code:Village Pump/Bash examples: Difference between revisions

syntax HLer for bash should HL also sh, ash, dash (?)
('''tsch'''! Don't '''dash''' and '''bash'''. Opening a can of bu'''csh'''? '''psh'''! '''sh'''h! People are trying to sleep.)
(syntax HLer for bash should HL also sh, ash, dash (?))
Line 8:
<lang bash>#!/bin/sh</lang>
::::::at the beginning, indicating to the system they wanted a POSIX shell. That edition of Ubuntu had /bin/sh symlinked to '''dash''', which is a ''strictly'' POSIX shell. And it turned out part of their build script depended on '''bash''' extensions. Symlinking /bin/sh to /bin/bash fixed most of the problems. However, the '''csh''' lang ID idea is good...is '''tcsh''' the same? And what do we do for '''psh''' and friends? --[[User:Short Circuit|Short Circuit]] 06:34, 13 February 2009 (UTC)
::::::: ... [[wp:Almquist_shell|Interesting]] and creating confusion... but from a syntax-HLing point of view, it is not a problem, I believe a bash-syntax-HLer highlights well also ash/dash/sh; handling them as aliases? --[[User:ShinTakezou|ShinTakezou]] 14:45, 13 February 2009 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.