summaryrefslogtreecommitdiff
path: root/ult
diff options
context:
space:
mode:
authorPuneeth Chaganti2009-09-18 16:06:59 +0530
committerPuneeth Chaganti2009-09-18 16:06:59 +0530
commit7b4484fce4c5e7f88778a9d94edd13174d00083c (patch)
tree698e8a1ca238cf36f2b3475b2005138668657820 /ult
parent50b881e711764d4056e93dab9038fe297b7ad263 (diff)
downloadsees-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')
-rw-r--r--ult/Section_5.rst30
-rw-r--r--ult/session4.rst2
2 files changed, 16 insertions, 16 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
diff --git a/ult/session4.rst b/ult/session4.rst
index 84aa019..70ddb01 100644
--- a/ult/session4.rst
+++ b/ult/session4.rst
@@ -402,7 +402,7 @@ Searching and Replacing
+-----------------------------------------+---------+
+---------------------------------------+------------------+
-| Finding and Replacing |
+| Finding and Replacing | Commands |
+=======================================+==================+
| Replace the first instance of ``old`` |``:s/old/new`` |
| with ``new`` in the current line. | |