From 80bd32e6860e2be29bf0bde62c8f14168dcd33b0 Mon Sep 17 00:00:00 2001 From: Rawiri Blundell Date: Fri, 14 Apr 2023 23:44:41 +1200 Subject: [PATCH] First crawl of archive.org --- LICENSE | 451 +++++++++ archive_crawler | 95 ++ bash4 | 530 ++++++++++ commands/builtin/caller | 391 ++++++++ commands/builtin/continuebreak | 343 +++++++ commands/builtin/declare | 468 +++++++++ commands/builtin/echo | 299 ++++++ commands/builtin/eval | 446 +++++++++ commands/builtin/exec | 324 ++++++ commands/builtin/exit | 373 +++++++ commands/builtin/export | 381 +++++++ commands/builtin/false | 343 +++++++ commands/builtin/kill | 399 ++++++++ commands/builtin/let | 399 ++++++++ commands/builtin/local | 357 +++++++ commands/builtin/mapfile | 475 +++++++++ commands/builtin/printf | 691 +++++++++++++ commands/builtin/read | 576 +++++++++++ commands/builtin/readonly | 372 +++++++ commands/builtin/return | 364 +++++++ commands/builtin/set | 408 ++++++++ commands/builtin/shift | 398 ++++++++ commands/builtin/shopt | 380 +++++++ commands/builtin/source | 343 +++++++ commands/builtin/times | 343 +++++++ commands/builtin/trap | 396 ++++++++ commands/builtin/true | 343 +++++++ commands/builtin/unset | 483 +++++++++ commands/builtin/wait | 373 +++++++ commands/classictest | 821 +++++++++++++++ dict/index | 344 +++++++ howto/calculate-dc | 621 ++++++++++++ howto/collapsing_functions | 422 ++++++++ howto/conffile | 424 ++++++++ howto/dissectabadoneliner | 392 ++++++++ howto/edit-ed | 702 +++++++++++++ howto/getopts_tutorial | 632 ++++++++++++ howto/mutex | 486 +++++++++ howto/pax | 643 ++++++++++++ howto/redirection_tutorial | 962 ++++++++++++++++++ howto/start | 337 +++++++ howto/testing-your-scripts | 437 ++++++++ internals/shell_options | 675 +++++++++++++ misc/bashphorisms | 381 +++++++ misc/readthesourceluke | 399 ++++++++ misc/shell_humor | 386 ++++++++ scripting/bashbehaviour | 659 ++++++++++++ scripting/bashchanges | 647 ++++++++++++ scripting/basics | 583 +++++++++++ scripting/debuggingtips | 662 +++++++++++++ scripting/newbie_traps | 575 +++++++++++ scripting/nonportable | 479 +++++++++ scripting/obsolete | 375 +++++++ scripting/posparams | 739 ++++++++++++++ scripting/processtree | 462 +++++++++ scripting/style | 648 ++++++++++++ scripting/terminalcodes | 615 ++++++++++++ scripting/tutoriallist | 548 ++++++++++ snipplets/start | 360 +++++++ start | 730 ++++++++++++++ syntax/arith_expr | 591 +++++++++++ syntax/arrays | 819 +++++++++++++++ syntax/basicgrammar | 593 +++++++++++ syntax/ccmd/arithmetic_eval | 358 +++++++ syntax/ccmd/c_for | 522 ++++++++++ syntax/ccmd/case | 453 +++++++++ syntax/ccmd/classic_for | 485 +++++++++ syntax/ccmd/conditional_expression | 477 +++++++++ syntax/ccmd/grouping_plain | 389 ++++++++ syntax/ccmd/grouping_subshell | 365 +++++++ syntax/ccmd/if_clause | 412 ++++++++ syntax/ccmd/intro | 359 +++++++ syntax/ccmd/until_loop | 363 +++++++ syntax/ccmd/user_select | 318 ++++++ syntax/ccmd/while_loop | 366 +++++++ syntax/expansion/arith | 394 ++++++++ syntax/expansion/brace | 569 +++++++++++ syntax/expansion/cmdsubst | 447 +++++++++ syntax/expansion/globs | 420 ++++++++ syntax/expansion/intro | 399 ++++++++ syntax/expansion/proc_subst | 456 +++++++++ syntax/expansion/tilde | 435 ++++++++ syntax/expansion/wordsplit | 369 +++++++ syntax/grammar/parser_exec | 426 ++++++++ syntax/keywords/coproc | 532 ++++++++++ syntax/pattern | 450 +++++++++ syntax/pe | 1138 +++++++++++++++++++++ syntax/quoting | 569 +++++++++++ syntax/redirection | 468 +++++++++ syntax/shellvars | 1485 ++++++++++++++++++++++++++++ syntax/words | 399 ++++++++ user/thebonsai/imprint | 262 +++++ wishes | 375 +++++++ 93 files changed, 45153 insertions(+) create mode 100644 LICENSE create mode 100644 archive_crawler create mode 100644 bash4 create mode 100644 commands/builtin/caller create mode 100644 commands/builtin/continuebreak create mode 100644 commands/builtin/declare create mode 100644 commands/builtin/echo create mode 100644 commands/builtin/eval create mode 100644 commands/builtin/exec create mode 100644 commands/builtin/exit create mode 100644 commands/builtin/export create mode 100644 commands/builtin/false create mode 100644 commands/builtin/kill create mode 100644 commands/builtin/let create mode 100644 commands/builtin/local create mode 100644 commands/builtin/mapfile create mode 100644 commands/builtin/printf create mode 100644 commands/builtin/read create mode 100644 commands/builtin/readonly create mode 100644 commands/builtin/return create mode 100644 commands/builtin/set create mode 100644 commands/builtin/shift create mode 100644 commands/builtin/shopt create mode 100644 commands/builtin/source create mode 100644 commands/builtin/times create mode 100644 commands/builtin/trap create mode 100644 commands/builtin/true create mode 100644 commands/builtin/unset create mode 100644 commands/builtin/wait create mode 100644 commands/classictest create mode 100644 dict/index create mode 100644 howto/calculate-dc create mode 100644 howto/collapsing_functions create mode 100644 howto/conffile create mode 100644 howto/dissectabadoneliner create mode 100644 howto/edit-ed create mode 100644 howto/getopts_tutorial create mode 100644 howto/mutex create mode 100644 howto/pax create mode 100644 howto/redirection_tutorial create mode 100644 howto/start create mode 100644 howto/testing-your-scripts create mode 100644 internals/shell_options create mode 100644 misc/bashphorisms create mode 100644 misc/readthesourceluke create mode 100644 misc/shell_humor create mode 100644 scripting/bashbehaviour create mode 100644 scripting/bashchanges create mode 100644 scripting/basics create mode 100644 scripting/debuggingtips create mode 100644 scripting/newbie_traps create mode 100644 scripting/nonportable create mode 100644 scripting/obsolete create mode 100644 scripting/posparams create mode 100644 scripting/processtree create mode 100644 scripting/style create mode 100644 scripting/terminalcodes create mode 100644 scripting/tutoriallist create mode 100644 snipplets/start create mode 100644 start create mode 100644 syntax/arith_expr create mode 100644 syntax/arrays create mode 100644 syntax/basicgrammar create mode 100644 syntax/ccmd/arithmetic_eval create mode 100644 syntax/ccmd/c_for create mode 100644 syntax/ccmd/case create mode 100644 syntax/ccmd/classic_for create mode 100644 syntax/ccmd/conditional_expression create mode 100644 syntax/ccmd/grouping_plain create mode 100644 syntax/ccmd/grouping_subshell create mode 100644 syntax/ccmd/if_clause create mode 100644 syntax/ccmd/intro create mode 100644 syntax/ccmd/until_loop create mode 100644 syntax/ccmd/user_select create mode 100644 syntax/ccmd/while_loop create mode 100644 syntax/expansion/arith create mode 100644 syntax/expansion/brace create mode 100644 syntax/expansion/cmdsubst create mode 100644 syntax/expansion/globs create mode 100644 syntax/expansion/intro create mode 100644 syntax/expansion/proc_subst create mode 100644 syntax/expansion/tilde create mode 100644 syntax/expansion/wordsplit create mode 100644 syntax/grammar/parser_exec create mode 100644 syntax/keywords/coproc create mode 100644 syntax/pattern create mode 100644 syntax/pe create mode 100644 syntax/quoting create mode 100644 syntax/redirection create mode 100644 syntax/shellvars create mode 100644 syntax/words create mode 100644 user/thebonsai/imprint create mode 100644 wishes diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2f7e03c --- /dev/null +++ b/LICENSE @@ -0,0 +1,451 @@ + + GNU Free Documentation License + Version 1.3, 3 November 2008 + + + Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +0. PREAMBLE + +The purpose of this License is to make a manual, textbook, or other +functional and useful document "free" in the sense of freedom: to +assure everyone the effective freedom to copy and redistribute it, +with or without modifying it, either commercially or noncommercially. +Secondarily, this License preserves for the author and publisher a way +to get credit for their work, while not being considered responsible +for modifications made by others. + +This License is a kind of "copyleft", which means that derivative +works of the document must themselves be free in the same sense. It +complements the GNU General Public License, which is a copyleft +license designed for free software. + +We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. + + +1. APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work, in any medium, that +contains a notice placed by the copyright holder saying it can be +distributed under the terms of this License. Such a notice grants a +world-wide, royalty-free license, unlimited in duration, to use that +work under the conditions stated herein. The "Document", below, +refers to any such manual or work. Any member of the public is a +licensee, and is addressed as "you". You accept the license if you +copy, modify or distribute the work in a way requiring permission +under copyright law. + +A "Modified Version" of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. + +A "Secondary Section" is a named appendix or a front-matter section of +the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall +subject (or to related matters) and contains nothing that could fall +directly within that overall subject. (Thus, if the Document is in +part a textbook of mathematics, a Secondary Section may not explain +any mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. + +The "Invariant Sections" are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. If a +section does not fit the above definition of Secondary then it is not +allowed to be designated as Invariant. The Document may contain zero +Invariant Sections. If the Document does not identify any Invariant +Sections then there are none. + +The "Cover Texts" are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. A Front-Cover Text may +be at most 5 words, and a Back-Cover Text may be at most 25 words. + +A "Transparent" copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, that is suitable for revising the document +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup, or absence of markup, has been arranged to thwart +or discourage subsequent modification by readers is not Transparent. +An image format is not Transparent if used for any substantial amount +of text. A copy that is not "Transparent" is called "Opaque". + +Examples of suitable formats for Transparent copies include plain +ASCII without markup, Texinfo input format, LaTeX input format, SGML +or XML using a publicly available DTD, and standard-conforming simple +HTML, PostScript or PDF designed for human modification. Examples of +transparent image formats include PNG, XCF and JPG. Opaque formats +include proprietary formats that can be read and edited only by +proprietary word processors, SGML or XML for which the DTD and/or +processing tools are not generally available, and the +machine-generated HTML, PostScript or PDF produced by some word +processors for output purposes only. + +The "Title Page" means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, "Title Page" means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. + +The "publisher" means any person or entity that distributes copies of +the Document to the public. + +A section "Entitled XYZ" means a named subunit of the Document whose +title either is precisely XYZ or contains XYZ in parentheses following +text that translates XYZ in another language. (Here XYZ stands for a +specific section name mentioned below, such as "Acknowledgements", +"Dedications", "Endorsements", or "History".) To "Preserve the Title" +of such a section when you modify the Document means that it remains a +section "Entitled XYZ" according to this definition. + +The Document may include Warranty Disclaimers next to the notice which +states that this License applies to the Document. These Warranty +Disclaimers are considered to be included by reference in this +License, but only as regards disclaiming warranties: any other +implication that these Warranty Disclaimers may have is void and has +no effect on the meaning of this License. + +2. VERBATIM COPYING + +You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no +other conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and +you may publicly display copies. + + +3. COPYING IN QUANTITY + +If you publish printed copies (or copies in media that commonly have +printed covers) of the Document, numbering more than 100, and the +Document's license notice requires Cover Texts, you must enclose the +copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. + +If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a computer-network location from which the general network-using +public has access to download using public-standard network protocols +a complete Transparent copy of the Document, free of added material. +If you use the latter option, you must take reasonably prudent steps, +when you begin distribution of Opaque copies in quantity, to ensure +that this Transparent copy will remain thus accessible at the stated +location until at least one year after the last time you distribute an +Opaque copy (directly or through your agents or retailers) of that +edition to the public. + +It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to +give them a chance to provide you with an updated version of the +Document. + + +4. MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: + +A. Use in the Title Page (and on the covers, if any) a title distinct + from that of the Document, and from those of previous versions + (which should, if there were any, be listed in the History section + of the Document). You may use the same title as a previous version + if the original publisher of that version gives permission. +B. List on the Title Page, as authors, one or more persons or entities + responsible for authorship of the modifications in the Modified + Version, together with at least five of the principal authors of the + Document (all of its principal authors, if it has fewer than five), + unless they release you from this requirement. +C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. +D. Preserve all the copyright notices of the Document. +E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. +F. Include, immediately after the copyright notices, a license notice + giving the public permission to use the Modified Version under the + terms of this License, in the form shown in the Addendum below. +G. Preserve in that license notice the full lists of Invariant Sections + and required Cover Texts given in the Document's license notice. +H. Include an unaltered copy of this License. +I. Preserve the section Entitled "History", Preserve its Title, and add + to it an item stating at least the title, year, new authors, and + publisher of the Modified Version as given on the Title Page. If + there is no section Entitled "History" in the Document, create one + stating the title, year, authors, and publisher of the Document as + given on its Title Page, then add an item describing the Modified + Version as stated in the previous sentence. +J. Preserve the network location, if any, given in the Document for + public access to a Transparent copy of the Document, and likewise + the network locations given in the Document for previous versions + it was based on. These may be placed in the "History" section. + You may omit a network location for a work that was published at + least four years before the Document itself, or if the original + publisher of the version it refers to gives permission. +K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the section all + the substance and tone of each of the contributor acknowledgements + and/or dedications given therein. +L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section titles. +M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version. +N. Do not retitle any existing section to be Entitled "Endorsements" + or to conflict in title with any Invariant Section. +O. Preserve any Warranty Disclaimers. + +If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. + +You may add a section Entitled "Endorsements", provided it contains +nothing but endorsements of your Modified Version by various +parties--for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. + +You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. + + +5. COMBINING DOCUMENTS + +You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice, and that you preserve all their Warranty Disclaimers. + +The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections Entitled "History" +in the various original documents, forming one section Entitled +"History"; likewise combine any sections Entitled "Acknowledgements", +and any sections Entitled "Dedications". You must delete all sections +Entitled "Endorsements". + + +6. COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other +documents released under this License, and replace the individual +copies of this License in the various documents with a single copy +that is included in the collection, provided that you follow the rules +of this License for verbatim copying of each of the documents in all +other respects. + +You may extract a single document from such a collection, and +distribute it individually under this License, provided you insert a +copy of this License into the extracted document, and follow this +License in all other respects regarding verbatim copying of that +document. + + +7. AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, is called an "aggregate" if the copyright +resulting from the compilation is not used to limit the legal rights +of the compilation's users beyond what the individual works permit. +When the Document is included in an aggregate, this License does not +apply to the other works in the aggregate which are not themselves +derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one half of +the entire aggregate, the Document's Cover Texts may be placed on +covers that bracket the Document within the aggregate, or the +electronic equivalent of covers if the Document is in electronic form. +Otherwise they must appear on printed covers that bracket the whole +aggregate. + + +8. TRANSLATION + +Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License, and all the license notices in the +Document, and any Warranty Disclaimers, provided that you also include +the original English version of this License and the original versions +of those notices and disclaimers. In case of a disagreement between +the translation and the original version of this License or a notice +or disclaimer, the original version will prevail. + +If a section in the Document is Entitled "Acknowledgements", +"Dedications", or "History", the requirement (section 4) to Preserve +its Title (section 1) will typically require changing the actual +title. + + +9. TERMINATION + +You may not copy, modify, sublicense, or distribute the Document +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense, or distribute it is void, and +will automatically terminate your rights under this License. + +However, if you cease all violation of this License, then your license +from a particular copyright holder is reinstated (a) provisionally, +unless and until the copyright holder explicitly and finally +terminates your license, and (b) permanently, if the copyright holder +fails to notify you of the violation by some reasonable means prior to +60 days after the cessation. + +Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, receipt of a copy of some or all of the same material does +not give you any rights to use it. + + +10. FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions of the +GNU Free Documentation License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in +detail to address new problems or concerns. See +http://www.gnu.org/copyleft/. + +Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License "or any later version" applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. If the Document +specifies that a proxy can decide which future versions of this +License can be used, that proxy's public statement of acceptance of a +version permanently authorizes you to choose that version for the +Document. + +11. RELICENSING + +"Massive Multiauthor Collaboration Site" (or "MMC Site") means any +World Wide Web server that publishes copyrightable works and also +provides prominent facilities for anybody to edit those works. A +public wiki that anybody can edit is an example of such a server. A +"Massive Multiauthor Collaboration" (or "MMC") contained in the site +means any set of copyrightable works thus published on the MMC site. + +"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 +license published by Creative Commons Corporation, a not-for-profit +corporation with a principal place of business in San Francisco, +California, as well as future copyleft versions of that license +published by that same organization. + +"Incorporate" means to publish or republish a Document, in whole or in +part, as part of another Document. + +An MMC is "eligible for relicensing" if it is licensed under this +License, and if all works that were first published under this License +somewhere other than this MMC, and subsequently incorporated in whole or +in part into the MMC, (1) had no cover texts or invariant sections, and +(2) were thus incorporated prior to November 1, 2008. + +The operator of an MMC Site may republish an MMC contained in the site +under CC-BY-SA on the same site at any time before August 1, 2009, +provided the MMC is eligible for relicensing. + + +ADDENDUM: How to use this License for your documents + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: + + Copyright (c) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + +If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with the + Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. + +If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + +If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, +to permit their use in free software. diff --git a/archive_crawler b/archive_crawler new file mode 100644 index 0000000..8dd554f --- /dev/null +++ b/archive_crawler @@ -0,0 +1,95 @@ +#!/bin/bash +# An incomplete script, more like notes really, for grabbing a +# copy of wiki.bash-hackers.org from archive.org + +# Where are we playing on the local file system? +basedir="${HOME}/git/wiki.bash-hackers.org" + +# Prepend a string e.g. +# cmd: prepend foo bar +# out: foobar +# Also has a delimiter option e.g. +# cmd: prepend -d ';' foo bar +# out: foo;bar +prepend() { + local _prepend_delimiter + case "${1}" in + (-d|--delimiter) + _prepend_delimiter="${2}" + shift 2 + ;; + esac + printf -- '%s\n' "${1}${_prepend_delimiter:-}${2}" +} + +# Call archive.org's 'available' API to see if a site is available +# This will either return the URL of the most current snapshot, or null +# e.g. +# cmd: check_wayback_availability https://wiki.bash-hackers.org/howto/mutex?do=edit +# out: http://web.archive.org/web/20220615023742/https://wiki.bash-hackers.org/howto/mutex?do=edit +# vs +# cmd: check_wayback_availability https://contoso.com/pantsmcgee +# out: null +check_wayback_availability() { + local remote_target + remote_target="https://archive.org/wayback/available?url=${1:?No target specified}" + curl -s -X GET "${remote_target}" | jq -r '.archived_snapshots.closest.url' +} + +# Download the given target into a local file structure e.g. +# http://web.archive.org/web/20220706170849/https://wiki.bash-hackers.org/scripting/bashbehaviour?do=edit +# Will download into scripting/bashbehaviour +get_wayback_target() { + local remote_target target_path target_dirname + remote_target="${1:?No target specified}" + # Strip out everything after 'bash-hackers.org' and '?do=edit' e.g. + # http://web.archive.org/web/20220615023742/https://wiki.bash-hackers.org/howto/mutex?do=edit -> /howto/mutex + target_path="$(sed -n 's/.*bash-hackers.org//p' <<< "${remote_target}" | sed -e 's/?do=edit//')" + # Get the dirname e.g. /howto/mutex?do=edit -> /howto + target_dirname="$(dirname "${target_path}")" + # Create the path, ensuring that we strip the leading slash just-in-case e.g. /howto -> howto + mkdir -p "${basedir:?FATAL - basedir unset}/${target_dirname/\//}" + # Download the remote target to the local path + curl -s -X GET "${remote_target}" > "./${target_path}" +} + +# We want to pull internal-wiki links out of the markdown fragments. These look like +# [[path:to:file]] +# But can be given friendly names like +# [[path:to:file | friendly name]] +# The friendly name might have leading spaces around the pipe char or not +# We start by grep'ing for '[[' +# Then we filter out external links e.g. '[[http://contoso.com]]' +# Then we grep out just the link substrings +# Then we filter out friendly names (this could be brutally tidied up, it's late and I'm lazy right now) +# Then we append "/?do=edit/" +scrape_targets() { + local source_file + source_file="${1:?No target specified}" + grep "\[\[" "${source_file}" | + grep -v "\[\[http" | + grep -o "\[\[.*\]\]" | + sed -e 's/ | .*\]\]/]]/g' -e 's/| .*\]\]/]]/g' -e 's/|.*\]\]/]]/g' -e 's/\[\[/\//g' -e 's/\]\]/?do=edit/g' | + tr ':' '/' +} + +( + cd "${basedir}" || exit 1 + + # If it's not already here, get the start page + if [[ ! -f start ]]; then + get_wayback_target https://web.archive.org/web/20220930131429/https://wiki.bash-hackers.org/start?do=edit + fi + + while read -r; do + prepend https://wiki.bash-hackers.org "${REPLY}" + done < <(scrape_targets start) > raw_targets + + while read -r; do + check_wayback_availability "${REPLY}" + done < raw_targets > waybacktargets + + while read -r; do + get_wayback_target "${REPLY}" + done < waybacktargets +) diff --git a/bash4 b/bash4 new file mode 100644 index 0000000..06144c9 --- /dev/null +++ b/bash4 @@ -0,0 +1,530 @@ + + + + + + + + + + + Bash 4 - a rough overview [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ bash4

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • bash4.txt
  • Last modified: 2018/02/03 07:52
  • by narutowindy
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/caller b/commands/builtin/caller new file mode 100644 index 0000000..9a31e72 --- /dev/null +++ b/commands/builtin/caller @@ -0,0 +1,391 @@ + + + + + + + + + + + The caller builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:caller

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/caller.txt
  • Last modified: 2022/03/20 14:23
  • by sahirhoda
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/continuebreak b/commands/builtin/continuebreak new file mode 100644 index 0000000..d9693c4 --- /dev/null +++ b/commands/builtin/continuebreak @@ -0,0 +1,343 @@ + + + + + + + + + + + commands:builtin:continuebreak [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:continuebreak

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

Permission Denied

+
+ +

+Sorry, you don't have enough rights to continue. +

+ +
+ +

Login

+
+ +

+You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in. +

+ +
+
+
+
Log In +
+
+ +
+
+

You don't have an account yet? Just get one: Register

Forgotten your password? Get a new one: Set new password

+
+
+
+
+ +
+ + + + + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/declare b/commands/builtin/declare new file mode 100644 index 0000000..db2d281 --- /dev/null +++ b/commands/builtin/declare @@ -0,0 +1,468 @@ + + + + + + + + + + + The declare builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:declare

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/declare.txt
  • Last modified: 2013/04/14 20:11
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/echo b/commands/builtin/echo new file mode 100644 index 0000000..ab1c5c4 --- /dev/null +++ b/commands/builtin/echo @@ -0,0 +1,299 @@ + + + + + + + + + + + The echo builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:echo

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/commands/builtin/eval b/commands/builtin/eval new file mode 100644 index 0000000..a8f8ba6 --- /dev/null +++ b/commands/builtin/eval @@ -0,0 +1,446 @@ + + + + + + + + + + + The eval builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/eval.txt
  • Last modified: 2014/07/08 01:38
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/exec b/commands/builtin/exec new file mode 100644 index 0000000..67ae5a1 --- /dev/null +++ b/commands/builtin/exec @@ -0,0 +1,324 @@ + + + + + + + + + + + The exec builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:exec

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/commands/builtin/exit b/commands/builtin/exit new file mode 100644 index 0000000..49e2f95 --- /dev/null +++ b/commands/builtin/exit @@ -0,0 +1,373 @@ + + + + + + + + + + + The exit builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:exit

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/exit.txt
  • Last modified: 2013/06/22 11:48
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/export b/commands/builtin/export new file mode 100644 index 0000000..35795a7 --- /dev/null +++ b/commands/builtin/export @@ -0,0 +1,381 @@ + + + + + + + + + + + The export builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:export

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/export.txt
  • Last modified: 2017/01/19 19:23
  • by samuelwn
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/false b/commands/builtin/false new file mode 100644 index 0000000..5fdb818 --- /dev/null +++ b/commands/builtin/false @@ -0,0 +1,343 @@ + + + + + + + + + + + commands:builtin:false [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:false

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

Permission Denied

+
+ +

+Sorry, you don't have enough rights to continue. +

+ +
+ +

Login

+
+ +

+You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in. +

+ +
+
+
+
Log In +
+
+ +
+
+

You don't have an account yet? Just get one: Register

Forgotten your password? Get a new one: Set new password

+
+
+
+
+ +
+ + + + + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/kill b/commands/builtin/kill new file mode 100644 index 0000000..4703db8 --- /dev/null +++ b/commands/builtin/kill @@ -0,0 +1,399 @@ + + + + + + + + + + + The kill builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/kill.txt
  • Last modified: 2015/11/14 07:13
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/let b/commands/builtin/let new file mode 100644 index 0000000..b1b4cf6 --- /dev/null +++ b/commands/builtin/let @@ -0,0 +1,399 @@ + + + + + + + + + + + The let builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:let

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/let.txt
  • Last modified: 2015/11/16 04:19
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/local b/commands/builtin/local new file mode 100644 index 0000000..e900a56 --- /dev/null +++ b/commands/builtin/local @@ -0,0 +1,357 @@ + + + + + + + + + + + The local builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:local

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/local.txt
  • Last modified: 2012/04/23 01:30
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/mapfile b/commands/builtin/mapfile new file mode 100644 index 0000000..90b9383 --- /dev/null +++ b/commands/builtin/mapfile @@ -0,0 +1,475 @@ + + + + + + + + + + + The mapfile builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:mapfile

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/mapfile.txt
  • Last modified: 2013/08/19 08:09
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/printf b/commands/builtin/printf new file mode 100644 index 0000000..e796e4c --- /dev/null +++ b/commands/builtin/printf @@ -0,0 +1,691 @@ + + + + + + + + + + + The printf command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:printf

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/printf.txt
  • Last modified: 2016/11/30 15:39
  • by medievalist
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/read b/commands/builtin/read new file mode 100644 index 0000000..f94dee6 --- /dev/null +++ b/commands/builtin/read @@ -0,0 +1,576 @@ + + + + + + + + + + + The read builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:read

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/read.txt
  • Last modified: 2021/03/18 06:46
  • by jarnos
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/readonly b/commands/builtin/readonly new file mode 100644 index 0000000..9a2035d --- /dev/null +++ b/commands/builtin/readonly @@ -0,0 +1,372 @@ + + + + + + + + + + + The readonly builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:readonly

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/readonly.txt
  • Last modified: 2017/10/17 20:18
  • by ben_bash
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/return b/commands/builtin/return new file mode 100644 index 0000000..37ed874 --- /dev/null +++ b/commands/builtin/return @@ -0,0 +1,364 @@ + + + + + + + + + + + The return builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:return

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/return.txt
  • Last modified: 2015/11/16 04:43
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/set b/commands/builtin/set new file mode 100644 index 0000000..98626b6 --- /dev/null +++ b/commands/builtin/set @@ -0,0 +1,408 @@ + + + + + + + + + + + The set builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:set

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/set.txt
  • Last modified: 2011/03/21 02:50
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/shift b/commands/builtin/shift new file mode 100644 index 0000000..ddb9203 --- /dev/null +++ b/commands/builtin/shift @@ -0,0 +1,398 @@ + + + + + + + + + + + The shift builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:shift

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/shift.txt
  • Last modified: 2015/05/10 03:57
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/shopt b/commands/builtin/shopt new file mode 100644 index 0000000..75547b3 --- /dev/null +++ b/commands/builtin/shopt @@ -0,0 +1,380 @@ + + + + + + + + + + + The shopt builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:shopt

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/shopt.txt
  • Last modified: 2010/04/07 19:43
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/source b/commands/builtin/source new file mode 100644 index 0000000..c832bf3 --- /dev/null +++ b/commands/builtin/source @@ -0,0 +1,343 @@ + + + + + + + + + + + commands:builtin:source [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:source

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

Permission Denied

+
+ +

+Sorry, you don't have enough rights to continue. +

+ +
+ +

Login

+
+ +

+You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in. +

+ +
+
+
+
Log In +
+
+ +
+
+

You don't have an account yet? Just get one: Register

Forgotten your password? Get a new one: Set new password

+
+
+
+
+ +
+ + + + + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/times b/commands/builtin/times new file mode 100644 index 0000000..fdb518e --- /dev/null +++ b/commands/builtin/times @@ -0,0 +1,343 @@ + + + + + + + + + + + commands:builtin:times [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:times

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

Permission Denied

+
+ +

+Sorry, you don't have enough rights to continue. +

+ +
+ +

Login

+
+ +

+You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in. +

+ +
+
+
+
Log In +
+
+ +
+
+

You don't have an account yet? Just get one: Register

Forgotten your password? Get a new one: Set new password

+
+
+
+
+ +
+ + + + + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/trap b/commands/builtin/trap new file mode 100644 index 0000000..f52a765 --- /dev/null +++ b/commands/builtin/trap @@ -0,0 +1,396 @@ + + + + + + + + + + + The trap builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:trap

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/trap.txt
  • Last modified: 2013/06/16 10:38
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/true b/commands/builtin/true new file mode 100644 index 0000000..db5a711 --- /dev/null +++ b/commands/builtin/true @@ -0,0 +1,343 @@ + + + + + + + + + + + commands:builtin:true [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:true

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

Permission Denied

+
+ +

+Sorry, you don't have enough rights to continue. +

+ +
+ +

Login

+
+ +

+You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in. +

+ +
+
+
+
Log In +
+
+ +
+
+

You don't have an account yet? Just get one: Register

Forgotten your password? Get a new one: Set new password

+
+
+
+
+ +
+ + + + + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/unset b/commands/builtin/unset new file mode 100644 index 0000000..6cc69e0 --- /dev/null +++ b/commands/builtin/unset @@ -0,0 +1,483 @@ + + + + + + + + + + + The unset builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:unset

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/unset.txt
  • Last modified: 2015/07/30 23:05
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/builtin/wait b/commands/builtin/wait new file mode 100644 index 0000000..7cc6e42 --- /dev/null +++ b/commands/builtin/wait @@ -0,0 +1,373 @@ + + + + + + + + + + + The wait builtin command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:builtin:wait

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/builtin/wait.txt
  • Last modified: 2020/06/28 06:56
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/commands/classictest b/commands/classictest new file mode 100644 index 0000000..cc75cc3 --- /dev/null +++ b/commands/classictest @@ -0,0 +1,821 @@ + + + + + + + + + + + The classic test command [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ commands:classictest

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • commands/classictest.txt
  • Last modified: 2015/07/30 21:01
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/dict/index b/dict/index new file mode 100644 index 0000000..0eb934e --- /dev/null +++ b/dict/index @@ -0,0 +1,344 @@ + + + + + + + + + + + Small Bash- and commandline-related dictionary [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ dict:index

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • dict/index.txt
  • Last modified: 2010/06/30 04:29
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/calculate-dc b/howto/calculate-dc new file mode 100644 index 0000000..1643976 --- /dev/null +++ b/howto/calculate-dc @@ -0,0 +1,621 @@ + + + + + + + + + + + Calculating with dc [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/calculate-dc.txt
  • Last modified: 2018/06/21 23:36
  • by izxle
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/collapsing_functions b/howto/collapsing_functions new file mode 100644 index 0000000..9cd6bad --- /dev/null +++ b/howto/collapsing_functions @@ -0,0 +1,422 @@ + + + + + + + + + + + Collapsing Functions [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/collapsing_functions.txt
  • Last modified: 2015/08/08 20:26
  • by bill_thomson
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/conffile b/howto/conffile new file mode 100644 index 0000000..cb76e48 --- /dev/null +++ b/howto/conffile @@ -0,0 +1,424 @@ + + + + + + + + + + + Config files for your script [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ howto:conffile

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/conffile.txt
  • Last modified: 2015/08/08 16:00
  • by bill_thomson
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/dissectabadoneliner b/howto/dissectabadoneliner new file mode 100644 index 0000000..2738d76 --- /dev/null +++ b/howto/dissectabadoneliner @@ -0,0 +1,392 @@ + + + + + + + + + + + Dissect a bad oneliner [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/dissectabadoneliner.txt
  • Last modified: 2015/08/09 05:04
  • by bill_thomson
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/edit-ed b/howto/edit-ed new file mode 100644 index 0000000..2ce3eca --- /dev/null +++ b/howto/edit-ed @@ -0,0 +1,702 @@ + + + + + + + + + + + Editing files via scripts with ed [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ howto:edit-ed

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/edit-ed.txt
  • Last modified: 2015/08/08 20:00
  • by bill_thomson
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/getopts_tutorial b/howto/getopts_tutorial new file mode 100644 index 0000000..aa8d3a5 --- /dev/null +++ b/howto/getopts_tutorial @@ -0,0 +1,632 @@ + + + + + + + + + + + Small getopts tutorial [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ howto:getopts_tutorial

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/getopts_tutorial.txt
  • Last modified: 2018/03/21 00:07
  • by ffox8
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/mutex b/howto/mutex new file mode 100644 index 0000000..380f6e0 --- /dev/null +++ b/howto/mutex @@ -0,0 +1,486 @@ + + + + + + + + + + + Lock your script (against parallel execution) [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/mutex.txt
  • Last modified: 2015/08/08 15:22
  • by bill_thomson
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/pax b/howto/pax new file mode 100644 index 0000000..471eb7f --- /dev/null +++ b/howto/pax @@ -0,0 +1,643 @@ + + + + + + + + + + + pax - the POSIX archiver [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ howto:pax

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/pax.txt
  • Last modified: 2015/08/09 04:55
  • by bill_thomson
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/redirection_tutorial b/howto/redirection_tutorial new file mode 100644 index 0000000..302ee06 --- /dev/null +++ b/howto/redirection_tutorial @@ -0,0 +1,962 @@ + + + + + + + + + + + Illustrated Redirection Tutorial [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ howto:redirection_tutorial

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/howto/start b/howto/start new file mode 100644 index 0000000..fa0281f --- /dev/null +++ b/howto/start @@ -0,0 +1,337 @@ + + + + + + + + + + + HOWTO [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ howto:start

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/start.txt
  • Last modified: 2009/02/24 06:18
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/howto/testing-your-scripts b/howto/testing-your-scripts new file mode 100644 index 0000000..a733830 --- /dev/null +++ b/howto/testing-your-scripts @@ -0,0 +1,437 @@ + + + + + + + + + + + Write simple util [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • howto/testing-your-scripts.txt
  • Last modified: 2016/08/11 05:33
  • by pahaz
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/internals/shell_options b/internals/shell_options new file mode 100644 index 0000000..1600b1c --- /dev/null +++ b/internals/shell_options @@ -0,0 +1,675 @@ + + + + + + + + + + + List of shell options [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ internals:shell_options

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • internals/shell_options.txt
  • Last modified: 2019/11/02 13:17
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/misc/bashphorisms b/misc/bashphorisms new file mode 100644 index 0000000..ba2d6e2 --- /dev/null +++ b/misc/bashphorisms @@ -0,0 +1,381 @@ + + + + + + + + + + + The Bashphorisms [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ misc:bashphorisms

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • misc/bashphorisms.txt
  • Last modified: 2015/12/04 07:11
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/misc/readthesourceluke b/misc/readthesourceluke new file mode 100644 index 0000000..9f1adcd --- /dev/null +++ b/misc/readthesourceluke @@ -0,0 +1,399 @@ + + + + + + + + + + + misc:readthesourceluke [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ misc:readthesourceluke

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • misc/readthesourceluke.txt
  • Last modified: 2010/04/04 23:35
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/misc/shell_humor b/misc/shell_humor new file mode 100644 index 0000000..6ac0a60 --- /dev/null +++ b/misc/shell_humor @@ -0,0 +1,386 @@ + + + + + + + + + + + Shell Humor [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • misc/shell_humor.txt
  • Last modified: 2010/12/17 04:04
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/bashbehaviour b/scripting/bashbehaviour new file mode 100644 index 0000000..ad592e8 --- /dev/null +++ b/scripting/bashbehaviour @@ -0,0 +1,659 @@ + + + + + + + + + + + Bash's behaviour [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:bashbehaviour

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/bashbehaviour.txt
  • Last modified: 2015/08/04 10:03
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/bashchanges b/scripting/bashchanges new file mode 100644 index 0000000..d6b0c60 --- /dev/null +++ b/scripting/bashchanges @@ -0,0 +1,647 @@ + + + + + + + + + + + Bash changes [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:bashchanges

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/bashchanges.txt
  • Last modified: 2022/08/28 05:13
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/basics b/scripting/basics new file mode 100644 index 0000000..6572497 --- /dev/null +++ b/scripting/basics @@ -0,0 +1,583 @@ + + + + + + + + + + + The basics of shell scripting [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:basics

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/basics.txt
  • Last modified: 2019/08/30 09:07
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/debuggingtips b/scripting/debuggingtips new file mode 100644 index 0000000..4a14dd2 --- /dev/null +++ b/scripting/debuggingtips @@ -0,0 +1,662 @@ + + + + + + + + + + + Debugging a script [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:debuggingtips

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/debuggingtips.txt
  • Last modified: 2017/06/07 02:42
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/newbie_traps b/scripting/newbie_traps new file mode 100644 index 0000000..8b15f58 --- /dev/null +++ b/scripting/newbie_traps @@ -0,0 +1,575 @@ + + + + + + + + + + + Beginner Mistakes [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:newbie_traps

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/newbie_traps.txt
  • Last modified: 2020/05/28 12:34
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/nonportable b/scripting/nonportable new file mode 100644 index 0000000..9a69673 --- /dev/null +++ b/scripting/nonportable @@ -0,0 +1,479 @@ + + + + + + + + + + + Portability talk [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/nonportable.txt
  • Last modified: 2019/08/30 16:30
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/obsolete b/scripting/obsolete new file mode 100644 index 0000000..26c43c7 --- /dev/null +++ b/scripting/obsolete @@ -0,0 +1,375 @@ + + + + + + + + + + + Obsolete and deprecated syntax [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:obsolete

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/obsolete.txt
  • Last modified: 2019/08/30 16:01
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/posparams b/scripting/posparams new file mode 100644 index 0000000..0efac5e --- /dev/null +++ b/scripting/posparams @@ -0,0 +1,739 @@ + + + + + + + + + + + Handling positional parameters [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:posparams

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/posparams.txt
  • Last modified: 2018/05/12 18:04
  • by wayeoyuz
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/processtree b/scripting/processtree new file mode 100644 index 0000000..4666f8e --- /dev/null +++ b/scripting/processtree @@ -0,0 +1,462 @@ + + + + + + + + + + + Bash and the process tree [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ scripting:processtree

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/processtree.txt
  • Last modified: 2019/08/30 14:55
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/style b/scripting/style new file mode 100644 index 0000000..6b29a01 --- /dev/null +++ b/scripting/style @@ -0,0 +1,648 @@ + + + + + + + + + + + Scripting with style [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/style.txt
  • Last modified: 2018/04/21 09:21
  • by pdeyoreo
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/terminalcodes b/scripting/terminalcodes new file mode 100644 index 0000000..10619ce --- /dev/null +++ b/scripting/terminalcodes @@ -0,0 +1,615 @@ + + + + + + + + + + + Terminal codes (ANSI/VT100) introduction [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/terminalcodes.txt
  • Last modified: 2019/08/23 13:22
  • by artmieu
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/scripting/tutoriallist b/scripting/tutoriallist new file mode 100644 index 0000000..8d9f436 --- /dev/null +++ b/scripting/tutoriallist @@ -0,0 +1,548 @@ + + + + + + + + + + + List of Bash online-tutorials [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • scripting/tutoriallist.txt
  • Last modified: 2019/08/31 10:17
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/snipplets/start b/snipplets/start new file mode 100644 index 0000000..2e2c00b --- /dev/null +++ b/snipplets/start @@ -0,0 +1,360 @@ + + + + + + + + + + + Small code snippets [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ snipplets:start

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • snipplets/start.txt
  • Last modified: 2015/11/21 06:30
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/start b/start new file mode 100644 index 0000000..d5e3306 --- /dev/null +++ b/start @@ -0,0 +1,730 @@ + + + + + + + + + + + + + The Bash Hackers Wiki [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
The Wayback Machine - https://web.archive.org/web/20220930131429/https://wiki.bash-hackers.org/start?do=edit
+ + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ start

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • start.txt
  • Last modified: 2022/09/30 12:54
  • by hirnsushi
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/arith_expr b/syntax/arith_expr new file mode 100644 index 0000000..b6f3e05 --- /dev/null +++ b/syntax/arith_expr @@ -0,0 +1,591 @@ + + + + + + + + + + + Arithmetic expressions [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:arith_expr

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/arith_expr.txt
  • Last modified: 2017/02/11 14:22
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/arrays b/syntax/arrays new file mode 100644 index 0000000..a94cb01 --- /dev/null +++ b/syntax/arrays @@ -0,0 +1,819 @@ + + + + + + + + + + + Arrays [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:arrays

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/arrays.txt
  • Last modified: 2019/11/03 16:45
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/basicgrammar b/syntax/basicgrammar new file mode 100644 index 0000000..69e68a8 --- /dev/null +++ b/syntax/basicgrammar @@ -0,0 +1,593 @@ + + + + + + + + + + + Basic grammar rules of Bash [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:basicgrammar

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/basicgrammar.txt
  • Last modified: 2019/04/01 21:45
  • by ddebhw
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/arithmetic_eval b/syntax/ccmd/arithmetic_eval new file mode 100644 index 0000000..9895016 --- /dev/null +++ b/syntax/ccmd/arithmetic_eval @@ -0,0 +1,358 @@ + + + + + + + + + + + Arithmetic evaluation (command) [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:arithmetic_eval

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/arithmetic_eval.txt
  • Last modified: 2014/02/09 21:47
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/c_for b/syntax/ccmd/c_for new file mode 100644 index 0000000..8b1b0c9 --- /dev/null +++ b/syntax/ccmd/c_for @@ -0,0 +1,522 @@ + + + + + + + + + + + The C-style for-loop [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:c_for

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/c_for.txt
  • Last modified: 2013/07/15 03:56
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/case b/syntax/ccmd/case new file mode 100644 index 0000000..82e1556 --- /dev/null +++ b/syntax/ccmd/case @@ -0,0 +1,453 @@ + + + + + + + + + + + The case statement [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:case

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/case.txt
  • Last modified: 2017/02/08 15:04
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/classic_for b/syntax/ccmd/classic_for new file mode 100644 index 0000000..5f2a718 --- /dev/null +++ b/syntax/ccmd/classic_for @@ -0,0 +1,485 @@ + + + + + + + + + + + The classic for-loop [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:classic_for

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/classic_for.txt
  • Last modified: 2017/01/19 21:02
  • by 4dummies
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/conditional_expression b/syntax/ccmd/conditional_expression new file mode 100644 index 0000000..fcaa7d1 --- /dev/null +++ b/syntax/ccmd/conditional_expression @@ -0,0 +1,477 @@ + + + + + + + + + + + The conditional expression [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:conditional_expression

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/conditional_expression.txt
  • Last modified: 2022/08/09 03:42
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/grouping_plain b/syntax/ccmd/grouping_plain new file mode 100644 index 0000000..b0942d6 --- /dev/null +++ b/syntax/ccmd/grouping_plain @@ -0,0 +1,389 @@ + + + + + + + + + + + Grouping commands [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:grouping_plain

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/grouping_plain.txt
  • Last modified: 2016/06/02 20:49
  • by samuelwn
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/grouping_subshell b/syntax/ccmd/grouping_subshell new file mode 100644 index 0000000..c20b92e --- /dev/null +++ b/syntax/ccmd/grouping_subshell @@ -0,0 +1,365 @@ + + + + + + + + + + + Grouping commands in a subshell [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:grouping_subshell

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/grouping_subshell.txt
  • Last modified: 2013/01/14 19:21
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/if_clause b/syntax/ccmd/if_clause new file mode 100644 index 0000000..9f9a905 --- /dev/null +++ b/syntax/ccmd/if_clause @@ -0,0 +1,412 @@ + + + + + + + + + + + The if-clause [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:if_clause

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/if_clause.txt
  • Last modified: 2022/09/07 13:51
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/intro b/syntax/ccmd/intro new file mode 100644 index 0000000..ffb20f4 --- /dev/null +++ b/syntax/ccmd/intro @@ -0,0 +1,359 @@ + + + + + + + + + + + Bash compound commands [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:intro

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/intro.txt
  • Last modified: 2010/07/15 16:36
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/until_loop b/syntax/ccmd/until_loop new file mode 100644 index 0000000..5a3ebcc --- /dev/null +++ b/syntax/ccmd/until_loop @@ -0,0 +1,363 @@ + + + + + + + + + + + The until loop [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/until_loop.txt
  • Last modified: 2011/01/02 10:50
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/ccmd/user_select b/syntax/ccmd/user_select new file mode 100644 index 0000000..0d3d5f1 --- /dev/null +++ b/syntax/ccmd/user_select @@ -0,0 +1,318 @@ + + + + + + + + + + + + ✎ User selections [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + +
+ + +
+ + + + +
+ + +
+
+
+
+
+
+
+
+ +

+ syntax:ccmd:user_select

+ +
+
+ +
+ + + +
+ +
+
+ +
+
+
+
+ +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+ +
+ + + + +
+ + + + +
+ + +
+ + + +
+ +
+ + + + + + \ No newline at end of file diff --git a/syntax/ccmd/while_loop b/syntax/ccmd/while_loop new file mode 100644 index 0000000..b3aa2d9 --- /dev/null +++ b/syntax/ccmd/while_loop @@ -0,0 +1,366 @@ + + + + + + + + + + + The while-loop [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:ccmd:while_loop

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/ccmd/while_loop.txt
  • Last modified: 2010/04/15 18:47
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/arith b/syntax/expansion/arith new file mode 100644 index 0000000..0b4f485 --- /dev/null +++ b/syntax/expansion/arith @@ -0,0 +1,394 @@ + + + + + + + + + + + Arithmetic expansion [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:expansion:arith

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/arith.txt
  • Last modified: 2013/01/08 14:49
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/brace b/syntax/expansion/brace new file mode 100644 index 0000000..6bcab10 --- /dev/null +++ b/syntax/expansion/brace @@ -0,0 +1,569 @@ + + + + + + + + + + + Brace expansion [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:expansion:brace

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/brace.txt
  • Last modified: 2020/06/28 01:16
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/cmdsubst b/syntax/expansion/cmdsubst new file mode 100644 index 0000000..ae293c3 --- /dev/null +++ b/syntax/expansion/cmdsubst @@ -0,0 +1,447 @@ + + + + + + + + + + + Command substitution [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:expansion:cmdsubst

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/cmdsubst.txt
  • Last modified: 2010/09/09 16:45
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/globs b/syntax/expansion/globs new file mode 100644 index 0000000..fabf989 --- /dev/null +++ b/syntax/expansion/globs @@ -0,0 +1,420 @@ + + + + + + + + + + + Pathname expansion (globbing) [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/globs.txt
  • Last modified: 2013/04/14 12:34
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/intro b/syntax/expansion/intro new file mode 100644 index 0000000..f23b182 --- /dev/null +++ b/syntax/expansion/intro @@ -0,0 +1,399 @@ + + + + + + + + + + + Expansions and substitutions [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:expansion:intro

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/intro.txt
  • Last modified: 2017/03/05 18:09
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/proc_subst b/syntax/expansion/proc_subst new file mode 100644 index 0000000..1c9a40f --- /dev/null +++ b/syntax/expansion/proc_subst @@ -0,0 +1,456 @@ + + + + + + + + + + + Process substitution [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:expansion:proc_subst

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/proc_subst.txt
  • Last modified: 2021/04/11 18:56
  • by powerbasher
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/tilde b/syntax/expansion/tilde new file mode 100644 index 0000000..8925ffd --- /dev/null +++ b/syntax/expansion/tilde @@ -0,0 +1,435 @@ + + + + + + + + + + + Tilde expansion [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:expansion:tilde

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/tilde.txt
  • Last modified: 2017/03/05 18:07
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/expansion/wordsplit b/syntax/expansion/wordsplit new file mode 100644 index 0000000..87b6e82 --- /dev/null +++ b/syntax/expansion/wordsplit @@ -0,0 +1,369 @@ + + + + + + + + + + + Word splitting [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/expansion/wordsplit.txt
  • Last modified: 2012/06/10 20:08
  • by ormaaj
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/grammar/parser_exec b/syntax/grammar/parser_exec new file mode 100644 index 0000000..d97f166 --- /dev/null +++ b/syntax/grammar/parser_exec @@ -0,0 +1,426 @@ + + + + + + + + + + + Parsing and execution [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/grammar/parser_exec.txt
  • Last modified: 2019/10/31 16:18
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/keywords/coproc b/syntax/keywords/coproc new file mode 100644 index 0000000..b722bd0 --- /dev/null +++ b/syntax/keywords/coproc @@ -0,0 +1,532 @@ + + + + + + + + + + + The coproc keyword [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:keywords:coproc

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/keywords/coproc.txt
  • Last modified: 2013/04/14 12:36
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/pattern b/syntax/pattern new file mode 100644 index 0000000..ab3572d --- /dev/null +++ b/syntax/pattern @@ -0,0 +1,450 @@ + + + + + + + + + + + Patterns and pattern matching [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:pattern

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/pattern.txt
  • Last modified: 2021/10/21 00:52
  • by fgrose
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/pe b/syntax/pe new file mode 100644 index 0000000..833876e --- /dev/null +++ b/syntax/pe @@ -0,0 +1,1138 @@ + + + + + + + + + + + Parameter expansion [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:pe

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/pe.txt
  • Last modified: 2021/12/10 08:12
  • by ajrou
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/quoting b/syntax/quoting new file mode 100644 index 0000000..c8cb0f2 --- /dev/null +++ b/syntax/quoting @@ -0,0 +1,569 @@ + + + + + + + + + + + Quotes and escaping [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/quoting.txt
  • Last modified: 2019/10/30 17:39
  • by ersen
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/redirection b/syntax/redirection new file mode 100644 index 0000000..0023d94 --- /dev/null +++ b/syntax/redirection @@ -0,0 +1,468 @@ + + + + + + + + + + + Redirection [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:redirection

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/syntax/shellvars b/syntax/shellvars new file mode 100644 index 0000000..557512f --- /dev/null +++ b/syntax/shellvars @@ -0,0 +1,1485 @@ + + + + + + + + + + + Special parameters and shell variables [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:shellvars

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • syntax/shellvars.txt
  • Last modified: 2020/06/28 07:07
  • by thebonsai
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/syntax/words b/syntax/words new file mode 100644 index 0000000..a703227 --- /dev/null +++ b/syntax/words @@ -0,0 +1,399 @@ + + + + + + + + + + + Words... [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ syntax:words

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/user/thebonsai/imprint b/user/thebonsai/imprint new file mode 100644 index 0000000..0bacf2f --- /dev/null +++ b/user/thebonsai/imprint @@ -0,0 +1,262 @@ + + + + + + + + + + + Imprint [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + +

+ user:thebonsai:imprint

+ +
+
+ +
+ +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/wishes b/wishes new file mode 100644 index 0000000..3fe905a --- /dev/null +++ b/wishes @@ -0,0 +1,375 @@ + + + + + + + + + + + Wishlist [Bash Hackers Wiki] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + +
+ +
+ + + +
+ + + +
+ + +
+ + + + + + +
+
+ + +

+This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. +

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+ + +
  • wishes.txt
  • Last modified: 2010/04/18 20:27
  • (external edit)
+ + +
+ +
+ + +
+ +
+ + + + + + +
+ + + +
+ + +
+ + + + + \ No newline at end of file