| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <HTML |
| 3 | ><HEAD |
| 4 | ><TITLE |
| 5 | >Copyright</TITLE |
| 6 | ><META |
| 7 | NAME="GENERATOR" |
| 8 | CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
| 9 | "><LINK |
| 10 | REL="HOME" |
| 11 | TITLE="Advanced Bash-Scripting Guide" |
| 12 | HREF="index.html"><LINK |
| 13 | REL="PREVIOUS" |
| 14 | TITLE="To Do List" |
| 15 | HREF="todolist.html"><LINK |
| 16 | REL="NEXT" |
| 17 | TITLE="ASCII Table" |
| 18 | HREF="asciitable.html"><META |
| 19 | HTTP-EQUIV="Content-Style-Type" |
| 20 | CONTENT="text/css"><LINK |
| 21 | REL="stylesheet" |
| 22 | HREF="common/kde-common.css" |
| 23 | TYPE="text/css"><META |
| 24 | HTTP-EQUIV="Content-Type" |
| 25 | CONTENT="text/html; charset=iso-8859-1"><META |
| 26 | HTTP-EQUIV="Content-Language" |
| 27 | CONTENT="en"><LINK |
| 28 | REL="stylesheet" |
| 29 | HREF="common/kde-localised.css" |
| 30 | TYPE="text/css" |
| 31 | TITLE="KDE-English"><LINK |
| 32 | REL="stylesheet" |
| 33 | HREF="common/kde-default.css" |
| 34 | TYPE="text/css" |
| 35 | TITLE="KDE-Default"></HEAD |
| 36 | ><BODY |
| 37 | CLASS="APPENDIX" |
| 38 | BGCOLOR="#FFFFFF" |
| 39 | TEXT="#000000" |
| 40 | LINK="#AA0000" |
| 41 | VLINK="#AA0055" |
| 42 | ALINK="#AA0000" |
| 43 | STYLE="font-family: sans-serif;" |
| 44 | ><DIV |
| 45 | CLASS="NAVHEADER" |
| 46 | ><TABLE |
| 47 | SUMMARY="Header navigation table" |
| 48 | WIDTH="100%" |
| 49 | BORDER="0" |
| 50 | CELLPADDING="0" |
| 51 | CELLSPACING="0" |
| 52 | ><TR |
| 53 | ><TH |
| 54 | COLSPAN="3" |
| 55 | ALIGN="center" |
| 56 | >Advanced Bash-Scripting Guide: An in-depth exploration of the art of shell scripting</TH |
| 57 | ></TR |
| 58 | ><TR |
| 59 | ><TD |
| 60 | WIDTH="10%" |
| 61 | ALIGN="left" |
| 62 | VALIGN="bottom" |
| 63 | ><A |
| 64 | HREF="todolist.html" |
| 65 | ACCESSKEY="P" |
| 66 | >Prev</A |
| 67 | ></TD |
| 68 | ><TD |
| 69 | WIDTH="80%" |
| 70 | ALIGN="center" |
| 71 | VALIGN="bottom" |
| 72 | ></TD |
| 73 | ><TD |
| 74 | WIDTH="10%" |
| 75 | ALIGN="right" |
| 76 | VALIGN="bottom" |
| 77 | ><A |
| 78 | HREF="asciitable.html" |
| 79 | ACCESSKEY="N" |
| 80 | >Next</A |
| 81 | ></TD |
| 82 | ></TR |
| 83 | ></TABLE |
| 84 | ><HR |
| 85 | ALIGN="LEFT" |
| 86 | WIDTH="100%"></DIV |
| 87 | ><DIV |
| 88 | CLASS="APPENDIX" |
| 89 | ><H1 |
| 90 | ><A |
| 91 | NAME="COPYRIGHT" |
| 92 | ></A |
| 93 | >Appendix S. Copyright</H1 |
| 94 | ><P |
| 95 | >The <I |
| 96 | CLASS="CITETITLE" |
| 97 | >Advanced Bash Scripting |
| 98 | Guide</I |
| 99 | > is herewith granted to the PUBLIC DOMAIN. |
| 100 | This has the following implications and consequences. |
| 101 | </P |
| 102 | ><P |
| 103 | ><TABLE |
| 104 | BORDER="0" |
| 105 | BGCOLOR="#E0E0E0" |
| 106 | WIDTH="100%" |
| 107 | ><TR |
| 108 | ><TD |
| 109 | ><PRE |
| 110 | CLASS="PROGRAMLISTING" |
| 111 | > 1 A. All previous releases of the Advanced Bash Scripting Guide |
| 112 | 2 are as well granted to the Public Domain. |
| 113 | 3 |
| 114 | 4 A1. All printed editions, whether authorized by the author or not, |
| 115 | 5 are as well granted to the Public Domain. This legally overrides |
| 116 | 6 any stated intention or wishes of the publishers. Any statement |
| 117 | 7 of copyright is void and invalid. |
| 118 | 8 THERE ARE NO EXCEPTIONS TO THIS. |
| 119 | 9 |
| 120 | 10 A2. Any release of the Advanced Bash Scripting Guide, whether in |
| 121 | 11 electronic or print form is granted to the Public Domain by the |
| 122 | 12 express directive of the author and previous copyright holder, Mendel |
| 123 | 13 Cooper. No other person(s) or entities have ever held a valid copyright. |
| 124 | 14 |
| 125 | 15 B. As a Public Domain document, unlimited copying and distribution rights |
| 126 | 16 are granted. There can be NO restrictions. If anyone has published or will |
| 127 | 17 in the future publish an original or modified version of this document, |
| 128 | 18 then only additional original material may be copyrighted. The core |
| 129 | 19 work will remain in the Public Domain.</PRE |
| 130 | ></TD |
| 131 | ></TR |
| 132 | ></TABLE |
| 133 | ></P |
| 134 | ><P |
| 135 | >By law, distributors and publishers (including on-line |
| 136 | publishers) are prohibited from imposing any conditions, |
| 137 | strictures, or provisions on this document, any previous versions, |
| 138 | or any derivative versions. The author asserts |
| 139 | that he has <SPAN |
| 140 | CLASS="emphasis" |
| 141 | ><I |
| 142 | CLASS="EMPHASIS" |
| 143 | >not</I |
| 144 | ></SPAN |
| 145 | > entered into any contractual |
| 146 | obligations that would alter the foregoing declarations.</P |
| 147 | ><P |
| 148 | >Essentially, you may freely distribute this book or any |
| 149 | derivative thereof in electronic or printed form. If you have previously |
| 150 | purchased or are in possession of a printed copy of a current or |
| 151 | previous edition, you have the LEGAL RIGHT to copy and/or redistribute |
| 152 | it, regardless of any copyright notice. Any copyright notice is |
| 153 | void.</P |
| 154 | ><P |
| 155 | ><SPAN |
| 156 | CLASS="emphasis" |
| 157 | ><I |
| 158 | CLASS="EMPHASIS" |
| 159 | >Additionally, the author wishes to state his intention |
| 160 | that:</I |
| 161 | ></SPAN |
| 162 | ></P |
| 163 | ><P |
| 164 | ><TABLE |
| 165 | BORDER="0" |
| 166 | BGCOLOR="#E0E0E0" |
| 167 | WIDTH="100%" |
| 168 | ><TR |
| 169 | ><TD |
| 170 | ><PRE |
| 171 | CLASS="PROGRAMLISTING" |
| 172 | > 1 If you copy or distribute this book, kindly DO NOT |
| 173 | 2 use the materials within, or any portion thereof, in a patent or copyright |
| 174 | 3 lawsuit against the Open Source community, its developers, its |
| 175 | 4 distributors, or against any of its associated software or documentation |
| 176 | 5 including, but not limited to, the Linux kernel, Open Office, Samba, |
| 177 | 6 and Wine. Kindly DO NOT use any of the materials within |
| 178 | 7 this book in testimony or depositions as a plaintiff's "expert witness" in |
| 179 | 8 any lawsuit against the Open Source community, any of its developers, its |
| 180 | 9 distributors, or any of its associated software or documentation.</PRE |
| 181 | ></TD |
| 182 | ></TR |
| 183 | ></TABLE |
| 184 | ></P |
| 185 | ><P |
| 186 | >A Public Domain license essentially does not restrict ANY |
| 187 | legitimate distribution or use of this book. The author especially |
| 188 | encourages its (royalty-free!) use for classroom and instructional |
| 189 | purposes.</P |
| 190 | ><P |
| 191 | > To date, limited print rights (Lulu edition) have been granted |
| 192 | to one individual and to <SPAN |
| 193 | CLASS="emphasis" |
| 194 | ><I |
| 195 | CLASS="EMPHASIS" |
| 196 | >no one else</I |
| 197 | ></SPAN |
| 198 | >. Neither |
| 199 | that individual nor Lulu holds or ever has held a valid copyright.</P |
| 200 | ><DIV |
| 201 | CLASS="WARNING" |
| 202 | ><TABLE |
| 203 | CLASS="WARNING" |
| 204 | WIDTH="100%" |
| 205 | BORDER="0" |
| 206 | ><TR |
| 207 | ><TD |
| 208 | WIDTH="25" |
| 209 | ALIGN="CENTER" |
| 210 | VALIGN="TOP" |
| 211 | ><IMG |
| 212 | SRC="common/warning.png" |
| 213 | HSPACE="5" |
| 214 | ALT="Warning"></TD |
| 215 | ><TD |
| 216 | ALIGN="LEFT" |
| 217 | VALIGN="TOP" |
| 218 | ><P |
| 219 | >It has come to the attention of the author that |
| 220 | <SPAN |
| 221 | CLASS="emphasis" |
| 222 | ><I |
| 223 | CLASS="EMPHASIS" |
| 224 | >unauthorized</I |
| 225 | ></SPAN |
| 226 | > electronic and print |
| 227 | editions of this book are being sold commercially on <SPAN |
| 228 | CLASS="TRADEMARK" |
| 229 | >itunes</SPAN |
| 230 | >®, <SPAN |
| 231 | CLASS="emphasis" |
| 232 | ><I |
| 233 | CLASS="EMPHASIS" |
| 234 | >amazon.com</I |
| 235 | ></SPAN |
| 236 | > |
| 237 | and elsewhere. These are illegal and pirated editions produced |
| 238 | without the author's permission, and readers of this book are |
| 239 | strongly urged not to purchase them. In fact, these pirated editions are |
| 240 | now legal, but necessarily fall into the Public Domain, and any |
| 241 | copyright notices contained within them are invalid and void.</P |
| 242 | ></TD |
| 243 | ></TR |
| 244 | ></TABLE |
| 245 | ></DIV |
| 246 | ><P |
| 247 | >The author produced this book in a manner consistent with the |
| 248 | spirit of the <A |
| 249 | HREF="http://www.tldp.org/manifesto.html" |
| 250 | TARGET="_top" |
| 251 | >LDP |
| 252 | Manifesto</A |
| 253 | >.</P |
| 254 | ><TABLE |
| 255 | CLASS="SIDEBAR" |
| 256 | BORDER="1" |
| 257 | CELLPADDING="5" |
| 258 | ><TR |
| 259 | ><TD |
| 260 | ><DIV |
| 261 | CLASS="SIDEBAR" |
| 262 | ><A |
| 263 | NAME="AEN25689" |
| 264 | ></A |
| 265 | ><P |
| 266 | >Linux is a trademark registered to Linus Torvalds.</P |
| 267 | ><P |
| 268 | >Fedora is a trademark registered to Red Hat.</P |
| 269 | ><P |
| 270 | >Unix and UNIX are trademarks registered to the Open Group.</P |
| 271 | ><P |
| 272 | >MS Windows is a trademark registered to the Microsoft Corp.</P |
| 273 | ><P |
| 274 | >Solaris is a trademark registered to Oracle, Inc.</P |
| 275 | ><P |
| 276 | >OSX is a trademark registered to Apple, Inc.</P |
| 277 | ><P |
| 278 | >Yahoo is a trademark registered to Yahoo, Inc.</P |
| 279 | ><P |
| 280 | >Pentium is a trademark registered to Intel, Inc.</P |
| 281 | ><P |
| 282 | >Thinkpad is a trademark registered to Lenovo, Inc.</P |
| 283 | ><P |
| 284 | >Scrabble is a trademark registered to Hasbro, Inc.</P |
| 285 | ><P |
| 286 | >Librie, PRS-500, and PRS-505 are trademarks registered to |
| 287 | Sony, Inc.</P |
| 288 | ><P |
| 289 | >All other commercial trademarks mentioned in the body of this work |
| 290 | are registered to their respective owners.</P |
| 291 | ></DIV |
| 292 | ></TD |
| 293 | ></TR |
| 294 | ></TABLE |
| 295 | ><P |
| 296 | >Hyun Jin Cha has done a <A |
| 297 | HREF="http://kldp.org/HOWTO/html/Adv-Bash-Scr-HOWTO/index.html" |
| 298 | TARGET="_top" |
| 299 | >Korean |
| 300 | translation</A |
| 301 | > of version 1.0.11 of this book. Spanish, |
| 302 | Portuguese, <A |
| 303 | HREF="http://abs.traduc.org/" |
| 304 | TARGET="_top" |
| 305 | >French</A |
| 306 | >, German, <A |
| 307 | HREF="http://it.tldp.org/guide/abs/index.html" |
| 308 | TARGET="_top" |
| 309 | >Italian</A |
| 310 | >, |
| 311 | <A |
| 312 | HREF="http://gazette.linux.ru.net/rus/articles/index-abs-guide.html" |
| 313 | TARGET="_top" |
| 314 | >Russian</A |
| 315 | >, |
| 316 | <A |
| 317 | HREF="http://premekvihan.net/bash" |
| 318 | TARGET="_top" |
| 319 | >Czech</A |
| 320 | >, <A |
| 321 | HREF="http://www.linuxsir.org/bbs/showthread.php?t=256887" |
| 322 | TARGET="_top" |
| 323 | >Chinese</A |
| 324 | >, |
| 325 | Indonesian, Dutch, Romanian, Bulgarian, and Turkish translations are also |
| 326 | available or in progress. If you wish to translate this document |
| 327 | into another language, please feel free to do so, subject to |
| 328 | the terms stated above. The author wishes to be notified of such |
| 329 | efforts.</P |
| 330 | ><TABLE |
| 331 | CLASS="SIDEBAR" |
| 332 | BORDER="1" |
| 333 | CELLPADDING="5" |
| 334 | ><TR |
| 335 | ><TD |
| 336 | ><DIV |
| 337 | CLASS="SIDEBAR" |
| 338 | ><A |
| 339 | NAME="AEN25709" |
| 340 | ></A |
| 341 | ><P |
| 342 | >Those generous readers desiring to |
| 343 | make a donation to the author may contribute a small |
| 344 | amount via Paypal to my e-mail address, |
| 345 | <TT |
| 346 | CLASS="EMAIL" |
| 347 | ><<A |
| 348 | HREF="mailto:[email protected]" |
| 349 | >[email protected]</A |
| 350 | >></TT |
| 351 | >. |
| 352 | (An <TT |
| 353 | CLASS="USERINPUT" |
| 354 | ><B |
| 355 | >Honor Roll of Supporters</B |
| 356 | ></TT |
| 357 | > |
| 358 | is given at the beginning of the <A |
| 359 | HREF="http://bash.deta.in/Change.log" |
| 360 | TARGET="_top" |
| 361 | >Change Log</A |
| 362 | >.) |
| 363 | This is <SPAN |
| 364 | CLASS="emphasis" |
| 365 | ><I |
| 366 | CLASS="EMPHASIS" |
| 367 | >not</I |
| 368 | ></SPAN |
| 369 | > a requirement. |
| 370 | The <I |
| 371 | CLASS="FIRSTTERM" |
| 372 | >ABS Guide</I |
| 373 | > is a free and freely |
| 374 | distributed document for the use and enjoyment of the Linux |
| 375 | community. However, in these difficult times, showing support |
| 376 | for voluntary projects and especially to authors of limited |
| 377 | means is more critically important than ever.</P |
| 378 | ></DIV |
| 379 | ></TD |
| 380 | ></TR |
| 381 | ></TABLE |
| 382 | ></DIV |
| 383 | ><DIV |
| 384 | CLASS="NAVFOOTER" |
| 385 | ><HR |
| 386 | ALIGN="LEFT" |
| 387 | WIDTH="100%"><TABLE |
| 388 | SUMMARY="Footer navigation table" |
| 389 | WIDTH="100%" |
| 390 | BORDER="0" |
| 391 | CELLPADDING="0" |
| 392 | CELLSPACING="0" |
| 393 | ><TR |
| 394 | ><TD |
| 395 | WIDTH="33%" |
| 396 | ALIGN="left" |
| 397 | VALIGN="top" |
| 398 | ><A |
| 399 | HREF="todolist.html" |
| 400 | ACCESSKEY="P" |
| 401 | >Prev</A |
| 402 | ></TD |
| 403 | ><TD |
| 404 | WIDTH="34%" |
| 405 | ALIGN="center" |
| 406 | VALIGN="top" |
| 407 | ><A |
| 408 | HREF="index.html" |
| 409 | ACCESSKEY="H" |
| 410 | >Home</A |
| 411 | ></TD |
| 412 | ><TD |
| 413 | WIDTH="33%" |
| 414 | ALIGN="right" |
| 415 | VALIGN="top" |
| 416 | ><A |
| 417 | HREF="asciitable.html" |
| 418 | ACCESSKEY="N" |
| 419 | >Next</A |
| 420 | ></TD |
| 421 | ></TR |
| 422 | ><TR |
| 423 | ><TD |
| 424 | WIDTH="33%" |
| 425 | ALIGN="left" |
| 426 | VALIGN="top" |
| 427 | >To Do List</TD |
| 428 | ><TD |
| 429 | WIDTH="34%" |
| 430 | ALIGN="center" |
| 431 | VALIGN="top" |
| 432 | > </TD |
| 433 | ><TD |
| 434 | WIDTH="33%" |
| 435 | ALIGN="right" |
| 436 | VALIGN="top" |
| 437 | >ASCII Table</TD |
| 438 | ></TR |
| 439 | ></TABLE |
| 440 | ></DIV |
| 441 | ></BODY |
| 442 | ></HTML |
| 443 | > |