&lt;?xml version="1.0" encoding="utf-8"?>
        <sphinx:docset>
            <sphinx:schema>
              <sphinx:field name="title"/>
              <sphinx:attr name="title" type="string"/>
              <sphinx:attr name="link" type="string"/>
              <sphinx:field name="content"/>
              <sphinx:attr name="content" type="string"/>
              <sphinx:attr name="pubDate" type="timestamp"/>
              
            </sphinx:schema>
            
            <sphinx:document id="1080 ">
              <title>&lt;![CDATA[cream bash ide – vim with bash support]]></title>
              <link>&lt;![CDATA[/2012/03/14/cream-bash-ide-vim-bash-support/]]></link>
              <pubDate>1331705808</pubDate>
              <content>&lt;![CDATA[ Image via Wikipedia Here you can find the cream editor. This is basically vim editor with lots of customizations thus making it simpler for the users to use the editor directly.
This version already has the bash and perl support plugins and thus you can start using them as IDE without the need to add any plugins. It has a simple and advanced mode. In the simple mode you need not worry about all the modes of the vi/vim editor. How cool is that 🙂
Related articles How to build vim 7.3.285 from source (stackoverflow.com) Why I use vim (michaeltrier.com) Get yourself som new themes for vim (amit-agarwal.co.in) ]]></content>
             </sphinx:document>
            
            <sphinx:document id="1081 ">
              <title>&lt;![CDATA[Backup of files in the directory.]]></title>
              <link>&lt;![CDATA[/2011/12/01/backup-files-directory/]]></link>
              <pubDate>1322739564</pubDate>
              <content>&lt;![CDATA[I was working on some scripts and the changes that I was making in the scripts was very dynamic, which I did want to keep backing up in the version control system. But for the peace of my mind, I wanted to keep a copy of the scripts, whenever it was in working state.
Since I had multiple files, so it would make more sense to have a script that could copy all the files in the current directory to “old” directory without over-writing the existing files. So, I wrote a script that would postfix the files with a number. With this approach, finally what I had was the following:
#!/bin/bash -#===============================================================================## FILE: backup.sh## USAGE: ./backup.sh## DESCRIPTION: Backup all the current files.## OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: Amit Agarwal (aka), amit.agarwal@roamware.com# COMPANY:# CREATED: 08/19/2011 02:43:32 PM IST# REVISION: ---#===============================================================================count=$(cat old/count)if [[ ! -f old/count ]]thencount=$(ls -1 old |sed &#39;s/.*\.//&#39;|grep -vi &#34;[a-z]&#34;|sort|tail -1)fi((count&#43;&#43;))echo $count &amp;gt;old/count[[ ! -d old ]] &amp;&amp; mkdir oldfor i in *do[[ -f $i ]] &amp;&amp; cp $i old/${i%%.*}.$countdoneecho &#34;Backed up to $count&#34; Related articles Backup Exec 2010 R3: Backups and catalogs contain no files, only directories. (edugeek.net) Adding border to images. (amit-agarwal.co.in) Emacs Reboot #5 (avdi.org) ]]></content>
             </sphinx:document>
            
            <sphinx:document id="1082 ">
              <title>&lt;![CDATA[what is vim in 6Kb..]]></title>
              <link>&lt;![CDATA[/2011/03/16/what-is-vim-in-6kb/]]></link>
              <pubDate>1300293393</pubDate>
              <content>&lt;![CDATA[ If you thought that vim is very bloated and nothing abuot this editor can be small, then you are not alone. I was myself in the same bandwagon.
Well, I never thought that there could be anything about vim that can be explained in Kb’s, lest alone the complete vim features. But looks like vim.org had thought about this and thus came up with this. And here is the direct link to the vim in 6kb in English.
Related articles Vim ! Vim ! Vim ! (mcknight0219.wordpress.com) VIM : JavaScript syntax : Better JavaScript syntax support (serverhorror.com) 2010 VIm Guide Roundup (linux.com) Vim script ]]></content>
             </sphinx:document>
            
            <sphinx:document id="1083 ">
              <title>&lt;![CDATA[All in one solution for all the scripts of vim from vim.org]]></title>
              <link>&lt;![CDATA[/2011/03/09/all-in-one-solution-for-all-the-scripts-of-vim-from-vim-org/]]></link>
              <pubDate>1299688792</pubDate>
              <content>&lt;![CDATA[ For quite sometime now, I was looking for some console based program which would help me get the scripts from vim.org. A simple solution would have been to do a wget for the scripts. But since there are so many scripts coming up daily and with a need to search based on script ID and name of the script, I thought better to write a script that can do all of those things. Now, what was required was that the script should be either able to download this or add to the GLVS script. Also note that, I had done something similar in the past here. There are some additions in the below script. You can download a copy of the script get_vim_scripts. Or you can copy the script from below:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
&amp;lt;td&amp;gt; &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt; #!/bin/bash -&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # FILE: get_scripts.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # USAGE: ./get_scripts.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # DESCRIPTION: Script to get the required vim script from the http&amp;lt;br /&amp;gt; # server vim.org&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # OPTIONS: ---&amp;lt;br /&amp;gt; # REQUIREMENTS: ---&amp;lt;br /&amp;gt; # BUGS: ---&amp;lt;br /&amp;gt; # NOTES: ---&amp;lt;br /&amp;gt; # AUTHOR: Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in&amp;lt;br /&amp;gt; # COMPANY: Individual&amp;lt;br /&amp;gt; # VERSION: 1.0&amp;lt;br /&amp;gt; # CREATED: 01/06/2010 10:06:27 PM IST&amp;lt;br /&amp;gt; # REVISION: Wed 24 Mar 2010 10:50:37 PM IST&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #-------------------------------------------------------------------------------&amp;lt;br /&amp;gt; # You mostly would not need to change the below params also,&amp;lt;br /&amp;gt; # but just in case you do not like to see my name or do&amp;lt;br /&amp;gt; # not like the location for these files, then you can change the name of&amp;lt;br /&amp;gt; # files in the below variables.&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # As a side note, it is good idea to keep them in location where they are&amp;lt;br /&amp;gt; # not deleted automatically so that the same can be used over and over&amp;lt;br /&amp;gt; # again, without downloading them.&amp;lt;br /&amp;gt; #-------------------------------------------------------------------------------&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; tmp_file=&amp;quot;/tmp/vim_scripts.html&amp;quot;&amp;lt;br /&amp;gt; script_id_file=&amp;quot;/tmp/script_id&amp;quot;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; ##========Do not change below this line...======&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #=== FUNCTION ================================================================&amp;lt;br /&amp;gt; # NAME: download_list&amp;lt;br /&amp;gt; # DESCRIPTION: Download the list of vim scripts and put it in a file.&amp;lt;br /&amp;gt; # PARAMETERS: NA&amp;lt;br /&amp;gt; # RETURNS: NA&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; download_list()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; downloaded=1&amp;lt;br /&amp;gt; if [ ! -f $tmp_file ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; wget -O $tmp_file &#39;http://www.vim.org/scripts/script_search_results.php?&amp;amp;show_me=4000&amp;amp;result_ptr=0&#39; -o /dev/null&amp;lt;br /&amp;gt; else&amp;lt;br /&amp;gt; echo &amp;quot;using the existing $tmp_file&amp;quot;&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #=== FUNCTION ================================================================&amp;lt;br /&amp;gt; # NAME: get_list&amp;lt;br /&amp;gt; # DESCRIPTION: Get the list of scripts from the vim.sf.net&amp;lt;br /&amp;gt; # PARAMETERS: None&amp;lt;br /&amp;gt; # RETURNS: Nothing&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; search_list ()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; read -p &amp;quot;Enter the text to search :: &amp;quot; text&amp;lt;br /&amp;gt; pager_exist=$(which $PAGER 2&amp;gt;/dev/null)&amp;lt;br /&amp;gt; if [ &amp;quot;$pager_exist&amp;quot; = &amp;quot;&amp;quot; ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; echo &amp;quot;No pager defined that can be used, displaying the first 10 entries&amp;quot;&amp;lt;br /&amp;gt; cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; | tr -d &#39;\001&#39;-&#39;\011&#39;&#39;\013&#39;&#39;\014&#39;&#39;\016&#39;-&#39;\037&#39;&#39;\200&#39;-&#39;\377&#39; |grep -i &amp;quot;$text&amp;quot;&amp;lt;br /&amp;gt; else&amp;lt;br /&amp;gt; if [ &amp;quot;x$1&amp;quot; = &amp;quot;x&amp;quot; ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; | tr -d &#39;\001&#39;-&#39;\011&#39;&#39;\013&#39;&#39;\014&#39;&#39;\016&#39;-&#39;\037&#39;&#39;\200&#39;-&#39;\377&#39; |grep -i &amp;quot;$text&amp;quot;|$PAGER&amp;lt;br /&amp;gt; else&amp;lt;br /&amp;gt; cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; | tr -d &#39;\001&#39;-&#39;\011&#39;&#39;\013&#39;&#39;\014&#39;&#39;\016&#39;-&#39;\037&#39;&#39;\200&#39;-&#39;\377&#39; |grep -i &amp;quot;$text&amp;quot;|$PAGER&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; echo &amp;quot;--$1--&amp;quot;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; get_all_list()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; echo &amp;quot;Printing the list of the scripts with the script ID&#39;s&amp;quot;&amp;lt;br /&amp;gt; pager_exist=$(which $PAGER 2&amp;gt;/dev/null)&amp;lt;br /&amp;gt; if [ &amp;quot;$pager_exist&amp;quot; = &amp;quot;&amp;quot; ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; echo &amp;quot;No pager defined that can be used, displaying the first 10 entries&amp;quot;&amp;lt;br /&amp;gt; cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; | tr -d &#39;\001&#39;-&#39;\011&#39;&#39;\013&#39;&#39;\014&#39;&#39;\016&#39;-&#39;\037&#39;&#39;\200&#39;-&#39;\377&#39; |sort -n|head -n 10&amp;lt;br /&amp;gt; else&amp;lt;br /&amp;gt; if [ &amp;quot;x$1&amp;quot; = &amp;quot;x&amp;quot; ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; | tr -d &#39;\001&#39;-&#39;\011&#39;&#39;\013&#39;&#39;\014&#39;&#39;\016&#39;-&#39;\037&#39;&#39;\200&#39;-&#39;\377&#39; |sort -n|$PAGER&amp;lt;br /&amp;gt; else&amp;lt;br /&amp;gt; cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; | tr -d &#39;\001&#39;-&#39;\011&#39;&#39;\013&#39;&#39;\014&#39;&#39;\016&#39;-&#39;\037&#39;&#39;\200&#39;-&#39;\377&#39; |$PAGER&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; echo &amp;quot;--$1--&amp;quot;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #=== FUNCTION ================================================================&amp;lt;br /&amp;gt; # NAME: get_details&amp;lt;br /&amp;gt; # DESCRIPTION: Get the details of the Sript ID&amp;lt;br /&amp;gt; # PARAMETERS: NA&amp;lt;br /&amp;gt; # RETURNS: NA&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; get_details()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; echo -n &amp;quot;Enter the script ID to get the details :&amp;quot;&amp;lt;br /&amp;gt; read script_id&amp;lt;br /&amp;gt; if [ ! -f $script_id_file$script_id ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; wget -o /dev/null -O $script_id_file$script_id &#39;http://www.vim.org/scripts/script.php?script_id=&#39;$script_id |html2text&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; printf &amp;quot;%20s&amp;quot;&amp;lt;br /&amp;gt; printf &amp;quot;%20s\n\n\n&amp;quot; &amp;quot;&#43;&amp;quot;|tr &#39; &#39; &#39;&#43;&#39;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; h2t=`which html2text 2&amp;gt;/dev/null`&amp;lt;br /&amp;gt; if [ $h2t = &amp;quot;&amp;quot; ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; cat $script_id_file$script_id|sed --silent &#39;/description/,/\/table/ p&#39;&amp;lt;br /&amp;gt; else&amp;lt;br /&amp;gt; cat $script_id_file$script_id|sed --silent &#39;/description/,/\/table/ p&#39;|html2text&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; printf &amp;quot;%20s&amp;quot;&amp;lt;br /&amp;gt; printf &amp;quot;%20s\n\n\n&amp;quot; &amp;quot;&#43;&amp;quot;|tr &#39; &#39; &#39;&#43;&#39;&amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #=== FUNCTION ================================================================&amp;lt;br /&amp;gt; # NAME: print_header&amp;lt;br /&amp;gt; # DESCRIPTION: Print the header for the script&amp;lt;br /&amp;gt; # PARAMETERS: NA&amp;lt;br /&amp;gt; # RETURNS: NA&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; print_header()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; printf &amp;quot;\n\n\n%80s\n&amp;quot; &amp;quot;=&amp;quot;|tr &#39; &#39; &#39;=&#39;&amp;lt;br /&amp;gt; echo &amp;quot; Welcome to VIM Scripts utility&amp;quot;&amp;lt;br /&amp;gt; echo &amp;quot; Script written by Amit Agarwal&amp;quot;&amp;lt;br /&amp;gt; echo &amp;quot; http://blog.amit-agarwal.co.in&amp;quot;&amp;lt;br /&amp;gt; printf &amp;quot;%80s\n&amp;quot; &amp;quot;=&amp;quot;|tr &#39; &#39; &#39;=&#39;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; cat &amp;lt;&amp;lt; EOF&amp;lt;br /&amp;gt; Menu&amp;lt;br /&amp;gt; ====&amp;lt;br /&amp;gt; 1. Get the list of all scripts&amp;lt;br /&amp;gt; 2. Get the description for the script&amp;lt;br /&amp;gt; 3. Download the script&amp;lt;br /&amp;gt; 4. Add the script to GetVIMLatestScript&amp;lt;br /&amp;gt; 5. Get selective list for scripts&amp;lt;br /&amp;gt; 6. Delete the existing list of all scripts&amp;lt;br /&amp;gt; 7. Get the list of all scripts in reverse order&amp;lt;br /&amp;gt; 8. Search the plugin list.&amp;lt;br /&amp;gt; p. Change Pager&amp;lt;br /&amp;gt; q. Quit the script&amp;lt;br /&amp;gt; ----------------------------------------------&amp;lt;br /&amp;gt; EOF&amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #=== FUNCTION ================================================================&amp;lt;br /&amp;gt; # NAME: get_script&amp;lt;br /&amp;gt; # DESCRIPTION: Download the vim script&amp;lt;br /&amp;gt; # PARAMETERS: NA&amp;lt;br /&amp;gt; # RETURNS: NA&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; get_script()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; read -p &amp;quot;Enter the script ID to download :: &amp;quot; script_id&amp;lt;br /&amp;gt; echo &amp;quot;Downloading the description&amp;quot;&amp;lt;br /&amp;gt; if [ ! -f $script_id_file$script_id ]&amp;lt;br /&amp;gt; then&amp;lt;br /&amp;gt; wget -o /dev/null -O $script_id_file$script_id &#39;http://www.vim.org/scripts/script.php?script_id=&#39;$script_id&amp;lt;br /&amp;gt; fi&amp;lt;br /&amp;gt; src_id_tmp=$(cat $script_id_file$script_id|grep src_id|head -1|sed -e &#39;s/.*href=&amp;quot;//&#39;)&amp;lt;br /&amp;gt; src_id=$(echo $src_id_tmp|sed -e &#39;s/&amp;quot;.*//&#39;)&amp;lt;br /&amp;gt; filename=$(echo $src_id_tmp|sed &#39;s/.*&amp;quot;&amp;gt;//&#39; |sed &#39;s#&amp;lt;.*##&#39;)&amp;lt;br /&amp;gt; echo &amp;quot;Downloading the file as $filename&amp;quot;&amp;lt;br /&amp;gt; curl http://www.vim.org/scripts/$src_id 2&amp;gt;/dev/null &amp;gt; $filename&amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #=== FUNCTION ================================================================&amp;lt;br /&amp;gt; # NAME: add_script2GVLS&amp;lt;br /&amp;gt; # DESCRIPTION: Add the script id to Get Latest VIM Scripts&amp;lt;br /&amp;gt; # PARAMETERS: NA&amp;lt;br /&amp;gt; # RETURNS: NA&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; add_script2GVLS()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; read -p &amp;quot;Enter the Script ID to add : &amp;quot; script_id&amp;lt;br /&amp;gt; script_name=$(cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; |sort -n|grep &amp;quot;^$script_id &amp;quot;|sed &#39;s/\([0-9]*\)\(.*\)/\2/&#39;)&amp;lt;br /&amp;gt; echo &amp;quot;$script_id 1 $script_name&amp;quot;&amp;lt;br /&amp;gt; cp ~/.vim/GetLatest/GetLatestVimScripts.dat ~/.vim/GetLatest/GetLatestVimScripts.backup&amp;lt;br /&amp;gt; echo &amp;quot;$script_id 1 :AutoInstall: $script_name&amp;quot; &amp;gt;&amp;gt; ~/.vim/GetLatest/GetLatestVimScripts.dat&amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #=== FUNCTION ================================================================&amp;lt;br /&amp;gt; # NAME: get_list&amp;lt;br /&amp;gt; # DESCRIPTION: Get the list of scripts for selective items&amp;lt;br /&amp;gt; # PARAMETERS: NA&amp;lt;br /&amp;gt; # RETURNS: NA&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; get_list()&amp;lt;br /&amp;gt; {&amp;lt;br /&amp;gt; echo &amp;quot;Getting the web page for the list of scripts...&amp;quot;&amp;lt;br /&amp;gt; echo &amp;quot;Please be patient&amp;quot;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; read -p &amp;quot;Enter the script ID to start from :&amp;quot; start_id&amp;lt;br /&amp;gt; read -p &amp;quot;Enter the number of entries to display :&amp;quot; number_display&amp;lt;br /&amp;gt; echo &amp;quot;Printing the list of the scripts with the script ID&#39;s from $start_id&amp;quot;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; printf &amp;quot;\n\n%75s\n&amp;quot;|tr &#39; &#39; &#39;=&#39;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; cat $tmp_file | grep width| grep script_id= |sed &#39;s/.*script_id=//&#39;|tr -d &amp;quot;&amp;quot;&amp;quot;|tr &amp;quot;&amp;gt;&amp;quot; &amp;quot; &amp;quot;|sed &#39;s/&amp;lt;.*//&#39; |sort -n|sed -n &#39;/^&#39;$start_id&#39; /,$ p&#39;|head -n $number_display&amp;lt;br /&amp;gt; printf &amp;quot;%75s\n\n\n\n&amp;quot;|tr &#39; &#39; &#39;=&#39;&amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; #-------------------------------------------------------------------------------&amp;lt;br /&amp;gt; # This is where we start the actual script in a infinite&amp;lt;br /&amp;gt; # loop. You can exit the loop with q.&amp;lt;br /&amp;gt; #-------------------------------------------------------------------------------&amp;lt;br /&amp;gt; echo &amp;quot;Getting the list of scripts ....&amp;quot;&amp;lt;br /&amp;gt; echo &amp;quot;Hold on a few seconds, while I do some dirty work :)&amp;quot;&amp;lt;br /&amp;gt; download_list&amp;lt;br /&amp;gt; while true&amp;lt;br /&amp;gt; do&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; print_header&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; read -p &amp;quot;Please enter your choice : &amp;quot; read_choice&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; case $read_choice in&amp;lt;br /&amp;gt; &#39;1&#39;)&amp;lt;br /&amp;gt; get_all_list&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;2&#39;)&amp;lt;br /&amp;gt; get_details&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;3&#39;)&amp;lt;br /&amp;gt; get_script&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;4&#39;)&amp;lt;br /&amp;gt; add_script2GVLS&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;5&#39;)&amp;lt;br /&amp;gt; get_list&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;6&#39;)&amp;lt;br /&amp;gt; rm -f $tmp_file&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;7&#39;)&amp;lt;br /&amp;gt; get_all_list 1&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;8&#39;)&amp;lt;br /&amp;gt; search_list&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;p&#39;)&amp;lt;br /&amp;gt; echo &amp;quot;Current pager is $PAGER&amp;quot;&amp;lt;br /&amp;gt; read -p &amp;quot;Enter the name of the pager to use :: &amp;quot; pager&amp;lt;br /&amp;gt; export PAGER=$pager&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; &#39;q&#39;)&amp;lt;br /&amp;gt; exit 0&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; *)&amp;lt;br /&amp;gt; echo &amp;quot;Not a valid input&amp;quot;&amp;lt;br /&amp;gt; ;;&amp;lt;br /&amp;gt; esac&amp;lt;br /&amp;gt; done &amp;lt;/div&amp;gt; &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; Related articles Guidelines/lines/highlights for indentation and text width for Python, cursor, tabs, and space in Vim (yjl.im) 2010 VIm Guide Roundup (linux.com) Lojic Technologies Blog &amp;#8211; Nice Fonts for GNU Emacs on Ubuntu Linux (lojic.com) ]]></content>
             </sphinx:document>
            
            <sphinx:document id="1084 ">
              <title>&lt;![CDATA[Browser Conkeror – fast, versatile, easy and configurable]]></title>
              <link>&lt;![CDATA[/2010/10/20/browser-conkeror-fast-versatile-easy-and-configurable/]]></link>
              <pubDate>1287535810</pubDate>
              <content>&lt;![CDATA[ Conkeror is a browser that uses XULRunner and is a highly configurable and programmable browser.
Here is the description of the browser from the homepage:
Conkeror is a keyboard-oriented, highly-customizable, highly-extensible web browser based on Mozilla XULRunner, written mainly in JavaScript, and inspired by exceptional software such as Emacs and vi. Conkeror features a sophisticated keyboard system, allowing users to run commands and interact with content in powerful and novel ways. It is self-documenting, featuring a powerful interactive help system.
On the initial launch, Conkeror performs the following steps:
The core Conkeror modules are loaded. Any special command-line arguments are processed. Optional Conkeror modules are loaded, as described on the Modules page. The ConkerorRC file or directory, as specified by the conkeror.rcfile string preference, is loaded, unless the -q special command-line option was given. Any normal command-line arguments are processed. If the default action was not suppressed by one of the normal command-line arguments, the URI specified by the string-valued homepage variable (this is a variable, not a Mozilla preference) is loaded as if it were specified as a URI on the command line. Do download this browser and try this out.. Its great experience…
Related articles Boost your productivity with Conkeror, Instapaper and a Kindle (ceondo.com) Best In Class: This is the title (bestinclass.dk) Best In Class: Developer Productivity &amp;#8211; The Red Pill (bestinclass.dk) Unable to understand a line of Emacs Lisp &amp;#8211; Stack Overflow (stackoverflow.com) language agnostic (langnostic.blogspot.com) ]]></content>
             </sphinx:document>
            
            <sphinx:document id="1085 ">
              <title>&lt;![CDATA[Linux command to repeat a string n times - Super User]]></title>
              <link>&lt;![CDATA[/2010/07/20/linux-command-to-repeat-a-string-n-times-super-user/]]></link>
              <pubDate>1279597629</pubDate>
              <content>&lt;![CDATA[ I was working on something and needed to output the string n times. I have required this even to print a line with &amp;amp;#8217;-&amp;amp;#8217; or &amp;amp;#8217;=&amp;amp;#8217; but this time I badly wanted it in bash. So I searched google and found this:
printf &amp;amp;#8221;Amit Agarwal%.0s&amp;amp;#8221; {1..5}
Explanations and other examples: &amp;lt;a href=&amp;quot;http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times&amp;quot;&amp;gt;http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot; style=&amp;quot;font-size: 1em;&amp;quot;&amp;gt;Related articles by Zemanta &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.rateitall.com/i-3177235-flat-rate-us-terminations.aspx&amp;quot;&amp;gt;1 reviews of Flat-Rate US Terminations (rateitall.com) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.brighthub.com/computing/linux/articles/75743.aspx&amp;quot;&amp;gt;Top Linux GUI (brighthub.com) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.gnu.org/software/emacs/tour/&amp;quot;&amp;gt;A guided tour of Emacs (gnu.org) &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Enhanced by Zemanta&amp;quot; href=&amp;quot;http://www.zemanta.com/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;border: medium none; float: right;&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_e6.png&amp;quot; alt=&amp;quot;Enhanced by Zemanta&amp;quot; /&amp;gt;&amp;lt;span class=&amp;quot;zem-script more-related pretty-attribution&amp;quot;&amp;gt;
]]></content>
             </sphinx:document>
            
          
        </sphinx:docset>
