Category:Bash: Difference between revisions

From Rosetta Code
Content added Content deleted
(Major change! Deprecate this category, explain why to use UNIX Shell instead.)
(Redirect to UNIX Shell. No one needs to read this page, but some readers, looking for Bash, might want to reach UNIX Shell page.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[:Category:UNIX Shell]]
{{maintenance}}
[[Category:Dead categories]]

This category is '''deprecated'''. The current category for Bash examples is [[:Category:UNIX Shell]].

The pages in this category have code examples under <nowiki>{{header|Bash}}</nowiki> instead of <nowiki>{{header|UNIX Shell}}</nowiki>. One should move or merge these examples to UNIX Shell, and mark them with <nowiki>{{works with|Bash}}</nowiki>.

There are a few reasons why Bash examples should be under UNIX Shell.

* Some examples already moved from Bash to UNIX Shell. See [[Category talk:Bash]] and [[Talk:Ethiopian multiplication]].
* Rosetta Code never correctly [[Rosetta Code:Add A Language|added Bash as a language]], because [[Bash]] is not a redirect to this category.
* Pages like [[Array concatenation]] had two redundant examples, where both examples for 'Bash' and 'UNIX Shell' demonstrated the same feature of Bash.
* Examples are almost never specific to Bash. For example, code that uses Bash array syntax like <tt>x=(1 2 3)</tt> would also work with [[ksh93]] and [[mksh]].

''(This page must not contain the <nowiki>{{language|...}}</nowiki> tag. If this page contained that tag, then Bash would appear in the first page of [[:Category:Programming Languages]] and more contributors would add examples to Bash instead of to UNIX Shell.)''

Latest revision as of 15:58, 1 January 2012