diff options
author | Puneeth Chaganti | 2009-09-18 16:06:59 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2009-09-18 16:06:59 +0530 |
commit | 7b4484fce4c5e7f88778a9d94edd13174d00083c (patch) | |
tree | 698e8a1ca238cf36f2b3475b2005138668657820 /ult/Section_5.rst | |
parent | 50b881e711764d4056e93dab9038fe297b7ad263 (diff) | |
download | sees-7b4484fce4c5e7f88778a9d94edd13174d00083c.tar.gz sees-7b4484fce4c5e7f88778a9d94edd13174d00083c.tar.bz2 sees-7b4484fce4c5e7f88778a9d94edd13174d00083c.zip |
Minor changes in ULT-sessions 4,5 and LaTeX handout for Sphinx build.
Diffstat (limited to 'ult/Section_5.rst')
-rw-r--r-- | ult/Section_5.rst | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ult/Section_5.rst b/ult/Section_5.rst index 4dc09e7..6fa8562 100644 --- a/ult/Section_5.rst +++ b/ult/Section_5.rst @@ -594,7 +594,21 @@ Say we wish to write a simple program that takes user input and prints it back, done exit 0 -Now lets try and use these above mentioned options provided by shell to write a utility. Until now, when we try find or locate it looks through directories and files for result. But they wont search through tar archives and zipped files. Lets create a shell script for especially looking through these files: :: +``until`` +~~~~~~~~~ + +The ``until`` loop is similar to the ``while`` loop, except that it executes until the conditional command does not execute properly. + +The infinite loop changes to the following, when ``until`` is used. +:: + + until false + do + echo "True" + done + +Now lets try and use these above mentioned options provided by shell to write a utility. Until now, when we try find or locate it looks through directories and files for result. But they wont search through tar archives and zipped files. Lets create a shell script for especially looking through these files +:: #!/bin/sh @@ -628,18 +642,6 @@ Now lets try and use these above mentioned options provided by shell to write a done done -``until`` -~~~~~~~~~ - -The ``until`` loop is similar to the ``while`` loop, except that it executes until the conditional command does not execute properly. - -The infinite loop changes to the following, when ``until`` is used. -:: - - until false - do - echo "True" - done Functions --------- @@ -699,5 +701,3 @@ Further Reading: * http://tldp.org/LDP/abs/html/ * http://tldp.org/LDP/Bash-Beginners-Guide/html/Bash-Beginners-Guide.html - -.. LocalWords: allfiles txt cvf vf tf regex mkdir cp cd xvf gzip gz stdout |