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

Two shell highlighting classes then?
No edit summary
(Two shell highlighting classes then?)
Line 4:
::: Yeah, I just discovered this last night. The language ID is '''bash'''. I'm hoping we don't get too much flack for lumping POSIX shell, bash, tsch, psh and others all under "unix shell." --[[User:Short Circuit|Short Circuit]] 17:07, 12 February 2009 (UTC)
:::: For anything nontrivial in the shell (e.g. setting environment variables, control structures, builtin commands, redirections other than stdin-from-file or stdout-to-file, etc.), the C shell (csh, tcsh) family is significantly different from the POSIX shell (csh, bash) family. --[[User:Kevin Reid|Kevin Reid]] 22:55, 12 February 2009 (UTC)
:::::How about <nowiki><lang csh> for C shells (which she sells down by the C shore) and <lang posh> for POSIX shells?</nowiki> --[[User:Mwn3d|Mwn3d]] 22:59, 12 February 2009 (UTC)
Anonymous user