Makefile
[mirrors/Programs.git] / bash / bashcrawl / test.html
1
2
3
4
5
6
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8 <html>
9 <head>
10
11 <title>Using arrays in bash</title>
12
13 <meta name="description" content="Learn two ways two declare an array in bash in this Linux tip." />
14 <meta name="keywords" content="Linux,Vincent Danen,Foo,Linux Tips Newsletter" />
15
16 <style type="text/css" media="screen">
17 @import url("http://i.techrepublic.com.com/css/tr2006.css");
18 @import url("http://i.techrepublic.com.com/css/tr_ws2006.css");
19 @import url("http://news.zdnet.com/css/z/ads/hs.css");
20 @import url("http://i.techrepublic.com.com/css/trArticle.css");
21 </style>
22
23 <link rel="stylesheet" type="text/css" media="print" href="http://i.techrepublic.com.com/css/trArticlePrint.css">
24 <link REL="SHORTCUT ICON" HREF="http://techrepublic.com.com/images/favicon.ico">
25 <script type="text/javascript" SRC="http://i.techrepublic.com.com/js/articleScript.js"></script>
26 <script type="text/javascript">var dwInfo = "&oid=2100-10878_11-5820685&ptId=2100&onId=10878&sId=11&asId=5820685";</script>
27 <!-- MAC ad --><!-- NO AD TEXT: _QUERY_STRING="sp=80&pos=100" _REQ_NUM="0" --><!-- default ad --><IMG SRC="http://adlog.com.com/adlog/i/r=7007&s=501815&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=00c17-ad-e5477C00C37AAE066&orh=www.google.com&ort=&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&dvar=&ucat_rsi=&t=2008.01.14.02.23.42/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif" HEIGHT="0" WIDTH="0" alt="" style="position:absolute; top:0px; left:0px" /><!-- MAC [r20071210-1033-DynamicVars:1.13.8] c13-b2b-publish-web2.cnet.com::39603120 2008.01.14.02.23.42 --><!-- MAC T 689.689.68B.68B -->
28
29 </head>
30 <body id="EyeBrow">
31
32 <div id="goiter">
33
34 <div id="width">
35 <div id="eyebrowsBanner">
36 <div id="eyebrowsInner">
37 <!-- MAC ad --><div class="rubics_netxp1_main">
38 On CHOW:
39 <a target="_top" href="http://dw.com.com/rubicsclk?ver=2&ts=2008.01.13.18.23.44&edId=87&onId=1035&ptId=5100&sId=11&appId=19&offId=948&unitId=45&poolId=1&f1=9&f2=%2d0&f3=%2d0&alg=3&&opt=0&linkPos=1&destUrl=http:%2F%2Fwww.chow.com%2Fstories%2F10785" class="xpromolink">Ten perfect grilled cheese sandwiches</a>
40 <img src="http://dw.com.com/rubicsimp/c.gif?ver=2&ts=2008.01.13.18.23.44&edId=87&onId=1035&ptId=5100&sId=11&appId=19&unitId=45&poolId=1&f1=9&f2=%2d0&f3=%2d0&alg=3&opt=0&off=948,-1" alt="" height="1" width="1"/>
41 </div>
42 <!-- ros [r20070521-1832-ronr-v1-13-5:1.13.5] c17-ad-rubics-ros4.cnet.com::3971599280 2008.01.13.18.23.44 --><!-- ros t 0.0.0.0.0.0.0.0 --><!-- MAC [r20071210-1033-DynamicVars:1.13.8] c13-b2b-publish-web2.cnet.com::39603120 2008.01.14.02.23.42 --><!-- MAC T 68B.68B.68D.68E -->
43 <ul class="cnbLinks">
44 <li>BNET Business Network: </li>
45 <li><a href="http://www.bnet.com">BNET</a> |</li>
46 <li><a href="http://techrepublic.com.com">TechRepublic</a> |</li>
47 <li><a href="http://www.zdnet.com">ZDNet</a></li>
48 </ul>
49 </div><!-- /eyebrowsInner -->
50 </div><!-- /eyebrowsBanner -->
51 <div id="masthead">
52 <a id="logo" href="http://techrepublic.com.com"></a>
53
54
55
56 <ul class="tool">
57 <li><a href="/5265-11518-0.html" class="blue">My Workspace</a>&nbsp;|&nbsp;<a href="http://nl.com.com/acct_mgmt.sc?brand=techrepublic" class="blue">My Newsletters</a></li>
58 <li><a href="/1320-4-55.html?path=/5213-6257-0.html" class="orange normal">Log in</a>&nbsp;|&nbsp;<a href="/1301-4-55.html?path=/5213-6257-0.html" class="orange normal">Get a free membership</a></li>
59 </ul>
60
61
62
63 </div><!-- /masthead -->
64
65
66 <div id="main">
67 <ul id="headerNav">
68 <li><a href="http://techrepublic.com.com/">Home</a></li>
69 <li><a href="http://blogs.techrepublic.com.com/">Blogs</a></li>
70 <li><a href="http://downloads.techrepublic.com.com/">Downloads</a></li>
71 <li><a href="http://techrepublic.com.com/5221-6230-0.html">Forums</a></li>
72 <li><a class="on" href="http://techrepublic.com.com/2001-10875-0.html">Articles</a></li>
73 <li><a href="http://content.techrepublic.com.com/2350-1_11-0.html">Photos</a></li>
74 <li><a href="http://video.techrepublic.com.com/2434-13789_11-167680.html">Videos</a></li>
75 <li><a href="http://webcasts.techrepublic.com.com">Webcasts</a></li>
76 <li><a href="http://whitepapers.techrepublic.com.com/">White Papers</a></li>
77 <li><a href="http://software.techrepublic.com.com">Software</a></li>
78 <li><a href="http://jobs.techrepublic.com.com/">Jobs</a></li>
79
80 <li><a href="http://techrepublic.com.com/1393-6242-97.html">Store</a></li>
81
82 </ul>
83
84 <div id="topHTML">
85 <form action="http://search.techrepublic.com.com/index.php" method="get" name="tr_site_search" id="searchForm" class="articleForm">
86
87 <input id="searchInput" name="q" type="text" value="Search" onFocus="this.value=''" />
88 <select id="searchList" name="t">
89 <option value="11">in Articles</option>
90 <option value="0">all of TechRepublic</option>
91 </select>
92 <input id="searchButton" name="go" value="Search" type="submit" />
93
94 </form>
95 </div><!--/topHTML-->
96
97 <div id="content" class="clearFix">
98 <div id="leftCol">
99 <div id="contentHeader">
100 <h1>Using arrays in bash</h1>
101 <p class="byline">by <a href="http://search.techrepublic.com.com/search/Vincent Danen.html">Vincent Danen</a>&nbsp;|&nbsp;Aug 08, 2005 7:00:00 AM</p>
102
103 <p class="tags"><b>Tags:</b> <a href="http://search.techrepublic.com.com/search/Linux.html">Linux</a>, <a href="http://search.techrepublic.com.com/search/Vincent Danen.html">Vincent Danen</a>, <a href="http://search.techrepublic.com.com/search/Foo.html">Foo</a>, <a href="http://search.techrepublic.com.com/search/Linux Tips Newsletter.html">Linux Tips Newsletter</a> </p>
104
105
106
107
108
109
110
111
112
113 <div class="interact fadeBtmLeft clearFix">
114 <div class="cmntCount">
115 <a href="#comments"><span>
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134 4
135
136
137
138 </span> comment(s)</a>
139 </div>
140 <ul class="toolbar">
141
142
143
144 <li class="share"><a title="Email this to a friend" href="javascript:usrActionReg(this,19);">Email</a></li>
145
146 <li class="save"><a title="Save this to my Workspace" href="http://techrepublic.com.com/5262-6257-0.html?link=http%3A%2F%2Farticles.techrepublic.com.com%2F5100-1035_11-5820685.html%3Fpart%3Drss%26tag%3Dfeed%26subj%3Dtr&title=Using+arrays+in+bash&path=http%3A%2F%2Farticles.techrepublic.com.com%2F5100-1035_11-5820685.html%3Fpart%3Drss%26tag%3Dfeed%26subj%3Dtr">Save</a></li>
147 <li class="print"><a title="Printer-friendly version" href="javascript:usrActionReg(this,20);">Print</a></li>
148 <li class="digg"><a href="http://digg.com/submit?phase=2&url=http://articles.techrepublic.com.com/5100-1035_11-5820685.html&title=Using+arrays+in+bash&bodytext=Learn+two+ways+two+declare+an+array+in+bash+in+this+Linux+tip.&topic=tech_news" class="last">Digg This</a></li>
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 <li class="recommend"><a href="http://articles.techrepublic.com.com/1320-4-55.html?path=http://articles.techrepublic.com.com/5100-10878_11-5820685.html" TITLE="Click to recommend" class="last"></a></li>
166
167 <li class="vote"><div id="votecount" class="votecount" TITLE="How many people recommended this item">1 </div></li>
168
169 <script language="JavaScript">
170 var http = createRequestObject();
171 var existing_votes = '';
172
173 function createRequestObject()
174 {
175 var ro;
176 var browser = navigator.appName;
177 if(browser == "Microsoft Internet Explorer"){
178 ro = new ActiveXObject("Microsoft.XMLHTTP");
179 }else{
180 ro = new XMLHttpRequest();
181 }
182 return ro;
183 }
184
185 function Set_Cookie(name, value, expires, path)
186 {
187 // set time, it's in milliseconds
188 var today = new Date();
189 today.setTime( today.getTime() );
190
191 expires = expires * 1000 * 60 * 60 * 24;
192 var expires_date = new Date( today.getTime() + (expires) );
193
194 document.cookie = name + "=" + escape( value ) + ";expires=" + expires_date.toGMTString() + ";path=" + path;
195
196 }
197
198 function sendVote()
199 {
200 http.open('get', '');
201 http.onreadystatechange = handleResponse;
202 http.send(null);
203 }
204
205 function handleResponse()
206 {
207 if(http.readyState == 4)
208 {
209 var response = http.responseText;
210 var temp_array = new Array();
211 temp_array = response.split('~');
212 var ranking = temp_array[0];
213
214 if (ranking > 0) {
215 ranking = ranking;
216 }
217
218 // Replace with ajax magic
219 document.getElementById('votecount').innerHTML = ranking;
220
221 // Remove the thumbs
222 var voter = document.getElementById('recommend');
223 voter.className = "thanks";
224 voter.innerHTML = "";
225
226 Set_Cookie('service',(existing_votes + '~85140'),30,'/');
227 }
228 }
229 </script>
230
231
232 </ul><!-- /toolbar -->
233 </div><!-- /interact -->
234 </div><!-- /contentHeader -->
235
236 <div id="articleText">
237 <p class="takeaway"><b>Takeaway:</b> Learn two ways two declare an array in bash in this Linux tip.</p>
238
239 <div class="related">
240 <div class="relatedBg">
241 <!--Medusa Related Content-->
242 <script type="text/javascript" src="http://service.techrepublic.com.com/wi?spot=related-js&format=text&count=5&null=true&id=TR.TA.1.5820685&referer=http%3A%2F%2Fwww.google.com%2Fsearch%3Fhl%3Dcs%26client%3Diceweasel-a%26rls%3Dorg.debian%253Acs-CZ%253Aunofficial%26q%3Dbash%2Barray%26btnG%3DHledat%26lr%3D"></script>
243 <script type="text/javascript">getrelatedContent()</script>
244 <!--/Medusa Related Content-->
245 </div><!--relatedBg-->
246 </div><!-- /related -->
247
248 <p>Assigning variables in bash is easily done and extremely
249 useful, but like other programming languages, bash can also use arrays. This is
250 particularly handy when you want to read the contents of a file into an array or
251 simply keep your scripts more organized and logical.</p>
252
253 <p>There are two ways of declaring an array:</p>
254
255 <pre>&lt;code&gt;<br>declare -a FOO<br>&lt;/code&gt;</pre>
256
257 <p>This creates an empty array called FOO. You can also declare
258 an array by assigning values to it:</p>
259
260 <pre>&lt;code&gt;<br>FOO[2] = 'bar'<br>&lt;/codE&gt;</pre>
261
262 <p>This assigns the third element of the array to the value
263 'bar'. In this instance, FOO[0] and FOO[1] are also
264 created, but their values are empty.</p>
265
266 <p>To populate an array, use:</p>
267
268 <pre>&lt;code&gt;<br>FOO=( bar string 'some text' )<br>&lt;/code&gt;</pre>
269
270 <p>This assigns the first element (FOO[0])
271 to 'bar', the second (FOO[1]) to 'string' and the final element (FOO[3]) to
272 'some text'. Notice that the array elements are separated by a blank space, so
273 if a value contains white spaces it must be quoted.</p>
274
275 <p>To use an array, it is referred to as $FOO[2]
276 but it also needs to be surrounded in curly braces, otherwise bash will not
277 expand it correctly:</p>
278
279 <pre>&lt;code&gt;<br>$ echo {$FOO[2]}<br>some text<br>&lt;/code&gt;</pre>
280
281 <p>To loop through an array, you can use a piece of shell code
282 like the following:</p>
283
284 <pre>&lt;code&gt;<br>
285 #!/bin/sh</pre><pre>FOO=( bar string 'some text')<br>foonum=${#FOO}<br>
286 for ((i=0;i&lt;$foonum;i++)); do<br>   echo ${FOO[${i}]}</pre><pre>done<br>&lt;/code&gt;</pre>
287
288 <p>Here we loop through each item of the array and print out its
289 value. Each array element is accessed by number, so we use the special variable
290 ${#FOO} which gives the number of elements in the array (in the above case, it
291 would return the number 3). That value is then used in the <i>for</i> loop to determine how many
292 times to loop. By accessing the array in this manner, you can easily generate
293 arrays from external data or command-line arguments, and process each element
294 one at a time.</p>
295
296 <p><i>Delivered each Tuesday, TechRepublic's free Linux NetNote provides tips, articles, and other resources to help you hone your Linux skills. <a href="http://nl.com.com/MiniFormHandler?brand=techrepublic&list_id=e011">Automatically sign up today!</a></i></p>
297 </div><!-- /articleText -->
298 <div id="contentLower">
299 <div class="interact fadeBtmLeft clearFix">
300 <div class="cmntCount">
301 <a href="#comments"><span>
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320 4
321
322
323
324 </span> comment(s)</a>
325 </div>
326 <ul class="toolbar">
327
328
329
330 <li class="share"><a title="Email this to a friend" href="javascript:usrActionReg(this,19);">Email</a></li>
331
332 <li class="save"><a title="Save this to my Workspace" href="http://techrepublic.com.com/5262-6257-0.html?link=http%3A%2F%2Farticles.techrepublic.com.com%2F5100-1035_11-5820685.html%3Fpart%3Drss%26tag%3Dfeed%26subj%3Dtr&title=Using+arrays+in+bash&path=http%3A%2F%2Farticles.techrepublic.com.com%2F5100-1035_11-5820685.html%3Fpart%3Drss%26tag%3Dfeed%26subj%3Dtr">Save</a></li>
333 <li class="print"><a title="Printer-friendly version" href="javascript:usrActionReg(this,20);">Print</a></li>
334 <li class="digg"><a href="http://digg.com/submit?phase=2&url=http://articles.techrepublic.com.com/5100-1035_11-5820685.html&title=Using+arrays+in+bash&bodytext=Learn+two+ways+two+declare+an+array+in+bash+in+this+Linux+tip.&topic=tech_news" class="last">Digg This</a></li>
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351 <li class="recommend"><a href="http://articles.techrepublic.com.com/1320-4-55.html?path=http://articles.techrepublic.com.com/5100-10878_11-5820685.html" TITLE="Click to recommend" class="last"></a></li>
352
353 <li class="vote"><div id="votecount" class="votecount" TITLE="How many people recommended this item">1 </div></li>
354
355 <script language="JavaScript">
356 var http = createRequestObject();
357 var existing_votes = '';
358
359 function createRequestObject()
360 {
361 var ro;
362 var browser = navigator.appName;
363 if(browser == "Microsoft Internet Explorer"){
364 ro = new ActiveXObject("Microsoft.XMLHTTP");
365 }else{
366 ro = new XMLHttpRequest();
367 }
368 return ro;
369 }
370
371 function Set_Cookie(name, value, expires, path)
372 {
373 // set time, it's in milliseconds
374 var today = new Date();
375 today.setTime( today.getTime() );
376
377 expires = expires * 1000 * 60 * 60 * 24;
378 var expires_date = new Date( today.getTime() + (expires) );
379
380 document.cookie = name + "=" + escape( value ) + ";expires=" + expires_date.toGMTString() + ";path=" + path;
381
382 }
383
384 function sendVote()
385 {
386 http.open('get', '');
387 http.onreadystatechange = handleResponse;
388 http.send(null);
389 }
390
391 function handleResponse()
392 {
393 if(http.readyState == 4)
394 {
395 var response = http.responseText;
396 var temp_array = new Array();
397 temp_array = response.split('~');
398 var ranking = temp_array[0];
399
400 if (ranking > 0) {
401 ranking = ranking;
402 }
403
404 // Replace with ajax magic
405 document.getElementById('votecount').innerHTML = ranking;
406
407 // Remove the thumbs
408 var voter = document.getElementById('recommend');
409 voter.className = "thanks";
410 voter.innerHTML = "";
411
412 Set_Cookie('service',(existing_votes + '~85140'),30,'/');
413 }
414 }
415 </script>
416
417
418 </ul><!-- /toolbar -->
419 </div><!-- /interact -->
420
421 <!--Medusa Related Content-->
422 <script type="text/javascript" src="http://service.techrepublic.com.com/wi?spot=related-js&format=text&count=5&null=true&id=TR.TA.1.5820685&referer=http%3A%2F%2Fwww.google.com%2Fsearch%3Fhl%3Dcs%26client%3Diceweasel-a%26rls%3Dorg.debian%253Acs-CZ%253Aunofficial%26q%3Dbash%2Barray%26btnG%3DHledat%26lr%3D"></script>
423 <script type="text/javascript">getrelatedContent()</script>
424 <!--/Medusa Related Content-->
425 <!--talkback-->
426 <a name="comments"></a>
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451 <h2><span class="farRight">
452
453
454
455
456 <a rel="nofollow" href="1320-4-55.html?path=5206-10878-0.html%3FforumID%3D3%26threadID%3D179275%26start%3D0">Print/View all Posts</a>
457
458
459 </span>Comments on this
460 article
461 </h2><!--End of comment-->
462
463 <table border="0" cellpadding="0" cellspacing="0" width="100%">
464 <tbody>
465 <tr><td class="trcThreadOddRow" height="45"><img src="/i/tr/treeItem.gif" align="left" border="0" width="20" height="45"><span class="threadHed"><a href="/5208-10878-0.html?forumID=3&threadID=179275&messageID=1826115">More bash scripting tips</a></span><span class="contentType">DanLM &nbsp;|&nbsp;08/09/05</span></td></tr></td></tr>
466
467
468
469 <tr><td class="trcThreadEvenRow" height="45"><img src="/i/tr/treeSkipItem.gif" align="left" border="0" width="20" height="45"><img src="/i/tr/treeLastItem.gif" align="left" border="0" width="20" height="45"><span class="threadHed"><a href="/5208-10878-0.html?forumID=3&threadID=179275&messageID=1826269">Have you checked out the <a href="http://www.tl...</a></span><span class="contentType">Tony K &nbsp;|&nbsp;08/09/05</span></td></tr></td></tr>
470
471
472
473 <tr><td class="trcThreadOddRow" height="45"><img src="/i/tr/treeItem.gif" align="left" border="0" width="20" height="45"><span class="threadHed"><a href="/5208-10878-0.html?forumID=3&threadID=179275&messageID=1826890">Mistakes?</a></span><span class="contentType">kiri@... &nbsp;|&nbsp;08/10/05</span></td></tr></td></tr>
474
475
476
477 <tr><td class="trcThreadEvenRow" height="45"><img src="/i/tr/treeLastItem.gif" align="left" border="0" width="20" height="45"><span class="threadHed"><a href="/5208-10878-0.html?forumID=3&threadID=179275&messageID=1834380">Semantic error</a></span><span class="contentType">8ored &nbsp;|&nbsp;08/22/05</span></td></tr></td></tr>
478
479
480
481
482 </tbody>
483 </table>
484
485 <div class="cmntBox">
486
487
488
489 <form action="http://techrepublic.com.com/5210-10878-0-1.html" method="post" class="clearFix" name="postform">
490 <h3>What do you think?</h3>
491 <input class="cmntTitle" type="text" name="subject" size="40" maxlength="75" value="RE: Using arrays in bash" onClick="this.value=''">
492 <textarea name="body" cols="45" wrap="PHYSICAL" rows="8"></textarea>
493
494
495 <label for="autoSubscribe">Alert me when new posts are added</label>
496 <input type="checkbox" name="autoSubscribe">
497
498
499 <input type="hidden" name="reply" value="true">
500 <input type="hidden" name="forumID" value="3">
501 <input type="hidden" name="threadID" value="179275">
502 <input type="hidden" name="messageID" value="1826114">
503
504 <button type="submit" name="doPost">Add Comment</button>
505
506
507 </form>
508 </div><!-- /cmntSubmit -->
509
510
511
512
513
514
515
516
517
518 <!-- /talkback -->
519 </div><!-- /contentLower -->
520 </div><!--/leftCol-->
521
522 <div id="rightCol" class="noAV">
523 <div class="keyline">
524
525 <!-- MAC ad --><div class="advert"><div style="text-align:center"><a href="http://www.cnetnetworks.com/adfeedback/?RGROUP=8530&SEGMENTID=731305&LINEID=195342&SP=16" target="new"><img src="http://i.i.com.com/cnwk.1d/Ads/common/ad_feedback_120x10_trans.gif" width="120" height="10" border="0" alt="advertisement" /></a><br /></div><IMG SRC="http://adlog.com.com/adlog/i/r=8530&s=731305&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285D86&orh=www.google.com&ort=&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&dvar=&ucat_rsi=&t=2008.01.14.02.23.42/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif" HEIGHT="0" WIDTH="0" alt="" style="position:absolute; top:0px; left:0px" /><div align="center"><iframe width="300" height="250" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" src="http://gflinks.industrybrains.com/gfifct?sid=654&ct=ENTERPRISE_IT_ROS&sz=300x250"></iframe></div></div><!-- MAC [r20071210-1033-DynamicVars:1.13.8] c13-b2b-publish-web2.cnet.com::39603120 2008.01.14.02.23.42 --><!-- MAC T B02.B02.B04.B04 -->
526
527
528 <!--Linux,Vincent Danen,Foo,Linux Tips Newsletter-->
529
530
531
532
533
534
535
536 <style type="text/css" media="screen">
537 @import url("http://i.techrepublic.com.com/css/simplyHired.css");
538 </style>
539 <div id="featuredJobs">
540 <h2><span>TechRepublic </span>Featured Jobs</h2>
541
542 <table cellspacing="0" cellpadding="0">
543 <tr>
544 <th>Job Title/Location</th>
545 <th>Posted</th>
546 </tr>
547
548 <tr>
549 <td><a href="http://dw.com.com/redir?siteid=11&tag=pos1&desturl=http://techrepublic.simplyhired.com/a/jobs/view/jobkey-366a25ebc777d8842a6d72de52dfa14cc53d82/hits-20295&part=simplyhired.com&subj=Help+Desk+Support">Help Desk Support</a>Lake Forest, CA</td>
550 <td>01/08/2008</td>
551 </tr>
552
553
554 <tr>
555 <td><a href="http://dw.com.com/redir?siteid=11&tag=pos1&desturl=http://techrepublic.simplyhired.com/a/jobs/view/jobkey-5479.10154470/hits-20295&part=simplyhired.com&subj=Help+Desk+Network+Support">Help Desk Network Support</a>Goshen, NY</td>
556 <td>01/02/2008</td>
557 </tr>
558
559
560 <tr>
561 <td><a href="http://dw.com.com/redir?siteid=11&tag=pos1&desturl=http://techrepublic.simplyhired.com/a/jobs/view/jobkey-5235.1d2b5ed816dd992c1a16ce04b139bcc7/hits-20295&part=simplyhired.com&subj=Help+Desk">Help Desk</a>Gardner, KS</td>
562 <td>01/11/2008</td>
563 </tr>
564
565
566 <tr>
567 <td><a href="http://dw.com.com/redir?siteid=11&tag=pos1&desturl=http://techrepublic.simplyhired.com/a/jobs/view/jobkey-5235.877788387ed9d556d065dc81d276f34f/hits-20295&part=simplyhired.com&subj=Help+Desk">Help Desk</a>Houston, TX</td>
568 <td>11/07/2007</td>
569 </tr>
570
571
572 </table>
573 <ul>
574 <li class="search">
575 <form id="" action="http://jobs.techrepublic.com.com/a/jobs/search" method="GET" name="" onSubmit="return sh_process_search(this)">
576
577 <input id="searchInput" maxlength="45" name="l" value="Search Jobs by Zip Code" type="text" onFocus="this.value=''" />
578 <input id="searchButton" value="Go" type="submit" />
579
580
581 </form>
582 </li>
583 <li class="poweredBy">Powered by: <a href="http://www.simplyhired.com"><img src="http://i.techrepublic.com.com/images/200709/logo_simplyHired.gif" alt="Simply Hired"></a></li>
584 <li class="clear">.</li>
585 </ul>
586 </div>
587
588
589
590 <h2>White Papers</h2>
591 <div class="rhContent">
592 <!-- MAC ad --><ul id="rubics">
593 <li><a target="_top" href="http://dw.com.com/rubicsclk?ver=2&ts=2008.01.13.18.23.45&edId=87&onId=10878&ptId=2415&sId=11&appId=4&offId=1650&unitId=10&poolId=3&f1=11&f2=%2d0&f3=%2d0&alg=3&&opt=1&linkPos=1&destUrl=http%3A%2F%2Fwhitepapers.techrepublic.com.com%2Fabstract.aspx%3Fdocid%3D102740%26promo%3D100503">VoIP: A Big Success for Mainstream Manufacturer</a> <cite>ShoreTel</cite></li>
594 <li><a target="_top" href="http://dw.com.com/rubicsclk?ver=2&ts=2008.01.13.18.23.45&edId=87&onId=10878&ptId=2415&sId=11&appId=4&offId=1648&unitId=10&poolId=3&f1=11&f2=%2d0&f3=%2d0&alg=3&&opt=1&linkPos=2&destUrl=http%3A%2F%2Fwhitepapers.techrepublic.com.com%2Fabstract.aspx%3Fdocid%3D102793%26promo%3D100503">Voice over IP Manageability: Architecture Matters</a> <cite>ShoreTel</cite></li>
595 <li><a target="_top" href="http://dw.com.com/rubicsclk?ver=2&ts=2008.01.13.18.23.45&edId=87&onId=10878&ptId=2415&sId=11&appId=4&offId=92&unitId=10&poolId=3&f1=11&f2=%2d0&f3=%2d0&alg=3&&opt=1&linkPos=3&destUrl=http%3A%2F%2Fwhitepapers.techrepublic.com.com%2Fabstract.aspx%3Fdocid%3D149044%26promo%3D100503">InfoTech Report - Strategies for IP Telephony Evaluation and Migration</a> <cite>ShoreTel</cite></li>
596 <li><a target="_top" href="http://dw.com.com/rubicsclk?ver=2&ts=2008.01.13.18.23.45&edId=87&onId=10878&ptId=2415&sId=11&appId=4&offId=952&unitId=10&poolId=3&f1=11&f2=%2d0&f3=%2d0&alg=3&&opt=1&linkPos=4&destUrl=http%3A%2F%2Fwhitepapers.techrepublic.com.com%2Fabstract.aspx%3Fdocid%3D176363%26promo%3D100503">VoIP: Enhancing Customer Responsiveness and Employee Productivity at NORPAC Foods</a> <cite>ShoreTel</cite></li>
597 <li><a target="_top" href="http://dw.com.com/rubicsclk?ver=2&ts=2008.01.13.18.23.45&edId=87&onId=10878&ptId=2415&sId=11&appId=4&offId=1675&unitId=10&poolId=3&f1=11&f2=%2d0&f3=%2d0&alg=3&&opt=1&linkPos=5&destUrl=http%3A%2F%2Fwhitepapers.techrepublic.com.com%2Fabstract.aspx%3Fdocid%3D269636%26promo%3D100503">The Education Sector Rates Importance of IP Telephony Features, Management and Applications</a> <cite>ShoreTel</cite></li>
598 <li><a target="_top" href="http://dw.com.com/rubicsclk?ver=2&ts=2008.01.13.18.23.45&edId=87&onId=10878&ptId=2415&sId=11&appId=4&offId=870&unitId=10&poolId=3&f1=11&f2=%2d0&f3=%2d0&alg=3&&opt=1&linkPos=6&destUrl=http%3A%2F%2Fwhitepapers.techrepublic.com.com%2Fabstract.aspx%3Fdocid%3D170126%26promo%3D100503">Keeping Pace with Expansion through Voice Services</a> <cite>ShoreTel</cite></li>
599 <img src='http://dw.com.com/rubicsimp/c.gif?ver=2&ts=2008.01.13.18.23.45&edId=87&onId=10878&ptId=2415&sId=11&appId=4&unitId=10&poolId=3&f1=11&f2=%2d0&f3=%2d0&alg=3&opt=1&off=1650,-1;1648,-1;92,-1;952,-1;1675,-1;870,-1' height='1' width='1' alt=''/>
600 </ul>
601 <!-- ros [r20070521-1832-ronr-v1-13-5:1.13.5] c17-ad-rubics-ros3.cnet.com::4039179184 2008.01.13.18.23.45 --><!-- ros t 0.0.0.0.1.1.1.1 --><!-- MAC [r20071210-1033-DynamicVars:1.13.8] c13-b2b-publish-web2.cnet.com::39603120 2008.01.14.02.23.42 --><!-- MAC T B05.B05.B08.B08 -->
602 </div><!-- /rhContent -->
603
604 <!-- MAC ad --><div class="advert"><div style="text-align:center"><a href="http://www.cnetnetworks.com/adfeedback/?RGROUP=8539&SEGMENTID=775110&LINEID=232783&SP=16" target="new"><img src="http://i.i.com.com/cnwk.1d/Ads/common/ad_feedback_120x10_trans.gif" width="120" height="10" border="0" alt="advertisement" /></a><br /></div><iframe src="http://view.atdmt.com/MRT/iview/cntnsitp0320000050mrt/direct;vt.1/01/2008.01.14.02.23.42?buster_url=&pub_view_url=&click=http:%2F%2Fadlog%2Ecom%2Ecom%2Fadlog%2Fe%2Fr%3D8539%26s%3D775110%26o%3D1035:%26h%3Dcn%26p%3D2%26b%3D9%26l%3Den_US%26site%3D11%26pt%3D5100%26nd%3D1035%26pid%3D%26cid%3D5820685%26pp%3D200%26e%3D87%26rqid%3D01c17-ad-e9476E46E712285D87%26orh%3Dwww.google.com%26oepartner%3D%26epartner%3D%26cpnmodule%3D%26count%3D%26ra%3D213.220.241.158%26t%3D2008.01.14.02.23.42%26event%3D58%2F" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="300" height="250">
605 <script language="JavaScript" type="text/javascript">
606 document.write('<a href="http://adlog.com.com/adlog/e/r=8539&s=775110&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=200&e=87&rqid=01c17-ad-e9476E46E712285D87&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42&event=58/http://clk.atdmt.com/MRT/go/cntnsitp0320000050mrt/direct/01/2008.01.14.02.23.42" target="_blank"><img src="http://view.atdmt.com/MRT/view/cntnsitp0320000050mrt/direct/01/2008.01.14.02.23.42"/></a>');
607 </script><noscript><a href="http://adlog.com.com/adlog/e/r=8539&s=775110&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=200&e=87&rqid=01c17-ad-e9476E46E712285D87&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42&event=58/http://clk.atdmt.com/MRT/go/cntnsitp0320000050mrt/direct/01/2008.01.14.02.23.42" target="_blank"><img border="0" src="http://view.atdmt.com/MRT/view/cntnsitp0320000050mrt/direct/01/2008.01.14.02.23.42" /></a></noscript></iframe><IMG SRC="http://adlog.com.com/adlog/i/r=8539&s=775110&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=200&e=87&rqid=01c17-ad-e9476E46E712285D87&orh=www.google.com&ort=&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&dvar=&ucat_rsi=&t=2008.01.14.02.23.42/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif" HEIGHT="0" WIDTH="0" alt="" style="position:absolute; top:0px; left:0px" /></div><!-- MAC [r20071210-1033-DynamicVars:1.13.8] c13-b2b-publish-web2.cnet.com::39603120 2008.01.14.02.23.42 --><!-- MAC T B08.B09.B0A.B0B -->
608 <iframe style="border:none;background:#fff" align="top" scrolling="no" width="100%" height="420" marginheight="0" marginwidth="0" frameborder="0" target="_top" src="http://bwp.techrepublic.com.com/search?dw-siteid=11&dw-ptid=5100&dw-ontid=10878" class="bidwar"></iframe>
609 </div><!-- /keyline -->
610 </div><!-- /rightCol -->
611
612 </div><!--/content-->
613
614 <div id="preFooter">
615 <hr />
616
617 </div><!-- /preFooter -->
618
619 <ul id="footer">
620
621 <li id="footFeedback">
622 <a class="eb_foot" href="http://www.zdnet.com">A ZDNet brand</a>
623 <a href="http://techrepublic.custhelp.com/">Site Help & Feedback</a>
624 </li>
625
626 <li id="footCnet">
627
628 <div class="clearFix">
629
630 <p><a href="http://www.cnetnetworks.com/"><b>About CNET Networks</b></a> | <a href="http://www.cnetnetworks.com/careers/">Jobs</a> | <a href="http://www.cnetnetworks.com/advertise/">Advertise</a> | <a href="http://www.cnetnetworks.com/partnerships/">Partnerships</a> | <a href="http://m.techrepublic.com.com/">Mobile</a></p>
631
632 <script language="javascript">
633 document.write("<form><p>Visit other CNET Networks sites:</p> <select name=\"menu\" id=\"form_menu\" ><option selected value=\"\">Select Site</option><option value=\"http://www.bnet.com\">BNET</option><option value=\"http://www.cnet.com\">CNET.com</option><option value=\"http://www.cnetchannel.com\">CNET Channel</option><option value=\"http://www.gamespot.com\">GameSpot</option><option value=\"http://www.cnetnetworks.com/advertise/properties/international.html\">International Media</option><option value=\"http://www.mp3.com\">MP3.com</option><option value=\"http://www.mysimon.com\">mySimon</option><option value=\"http://www.search.com\">Search.com</option><option value=\"http://techrepublic.com.com/\">TechRepublic</option><option value=\"http://www.tv.com\">TV.com</option><option value=\"http://www.webshots.com\">Webshots</option><option value=\"http://www.zdnet.com\">ZDNet</option></select><a onClick=\"window.location=document.getElementById('form_menu').options[document.getElementById('form_menu').selectedIndex].value;\"><img src=\"http://i.techrepublic.com.com/images/200609/go_search_button.gif\" id=\"visitButton\" height=\"21\" width=\"55\" /></a></form>");
634 </script>
635
636 <noscript>
637 <a href="http://www.bnet.com/">BNET</a> |
638 <a href="http://www.cnet.com/">CNET.com</a> |
639 <a href="http://www.cnetchannel.com/main/default.aspx">CNET Channel</a> |
640 <a href="http://www.gamespot.com/">GameSpot</a> |
641 <a href="http://www.cnetnetworks.com/advertise/properties/international.html">International Media</a> |
642 <a href="http://www.mp3.com/">MP3.com</a> |
643 <a href="http://www.mysimon.com/2001-1_8-0.html">mySimon</a> |
644 <a href="http://www.search.com/">Search.com</a> |
645 <a href="http://techrepublic.com.com/">TechRepublic</a> |
646 <a href="http://www.tv.com/">TV.com</a> |
647 <a href="http://www.webshots.com/">Webshots</a> |
648 <a href="http://www.zdnet.com/">ZDNet</a>
649 </noscript>
650 </div>
651
652 </li>
653 <li id="footCopyright">
654 Copyright &copy; 2008 CNET Networks, Inc. All Rights Reserved. <a href="http://www.cnet.com/html/aboutcnet/editorial/privacy.html?tag=tr.ft.co">Privacy Policy</a> | <a href="http://www.cnet.com/html/aboutcnet/editorial/terms.html?tag=tr.ft.co">Terms of Use</a>
655
656 </li>
657 </ul><!--/footer-->
658
659 </div><!--/main -->
660 </div><!--/width-->
661 <!-- MAC ad --><div class="hotspot">
662 <ul>
663 <li class="head">
664 <a href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.ppthreats&destUrl=http://news.zdnet.com/2422-13569_22-176090.html"><img width="125" height="50" src="http://i.i.com.com/cnwk.1d/Ads/1451/12/hs-header-125x50.gif"/></a>
665 </li>
666 <li class="noBd img">
667 <a href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.ppthreats&destUrl=http://news.zdnet.com/2422-13569_22-176090.html"><img width="97" height="72" alt="Getting Hooked" src="http://i.i.com.com/cnwk.1d/Ads/1451/12/176091-96-72.jpg"/></a>
668 </li>
669
670 <li class="yesBd">
671 <span><a href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.ppthreats&destUrl=http://news.zdnet.com/2422-13569_22-176090.html">Getting hooked: Phishing, pharming and online threats </a></span>
672 Agent Peterson of the Geek Squad offers some tips on how to protect yourself from viruses and spyware.
673 <span><a href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.ppthreats&destUrl=http://news.zdnet.com/2422-13569_22-176090.html" class="normal">Watch the ZDNet Whiteboard video &raquo;</a></span>
674 </li>
675 <li class="yesBd">
676 Photos: Ten views of Leopard
677 <span><a class="normal" href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.leopard&destUrl=http://content.techrepublic.com.com/2346-10877_11-30586.html">View the gallery at TechRepublic</a></span>
678 </li>
679 <li class="noBd">
680 From our sponsors
681 </li>
682 <li class="noBd img">
683 <span>Raise your</span><span>Business IQ</span>
684 </li>
685 <li class="noBd img">
686 <a href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.visitdlc&destUrl=http://news.zdnet.com/2422-13569_22-176090.html"><img width="97" height="65" alt="BestBuy" src="http://i.i.com.com/cnwk.1d/Ads/1451/12/hs-bestbuy-97x65.jpg"/></a>
687 </li>
688 <li class="yesBd">
689 ZDNet and Best Buy keep you informed on the latest technologies and strategies.
690 <span><a href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.visitdlc&destUrl=http://news.zdnet.com/2422-13569_22-176090.html" class="normal">Visit the learning center</a></span>
691 </li>
692 <li class="noBd img">
693 <a href="http://adlog.com.com/adlog/c/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://dw.com.com/redir?tag=hs.bestbuy.logo&destUrl=http://clk.atdmt.com/AVE/go/cntnsbb80090000114ave/direct;wi.88;hi.31/01"><img width="89" height="32" alt="BestBuy" src="http://i.i.com.com/cnwk.1d/Ads/1451/12/hs-bestbuy-logo-89x32.gif"/></a>
694 </li>
695
696
697 </ul>
698 </div><IMG SRC="http://adlog.com.com/adlog/i/r=9108&s=774121&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=100&e=87&rqid=01c17-ad-e9476E46E712285E10&orh=www.google.com&ort=&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&dvar=&ucat_rsi=&t=2008.01.14.02.23.42/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif" HEIGHT="0" WIDTH="0" alt="" style="position:absolute; top:0px; left:0px" /><!-- MAC [r20071210-1033-DynamicVars:1.13.8] c13-b2b-publish-web2.cnet.com::39603120 2008.01.14.02.23.42 --><!-- MAC T CF0.CF1.CF3.CF4 -->
699
700 <!-- MAC ad --><div class="window"><div style="text-align:center"><a href="http://www.cnetnetworks.com/adfeedback/?RGROUP=10767&SEGMENTID=721172&LINEID=185730&SP=8" target="new"><img src="http://i.i.com.com/cnwk.1d/Ads/common/ad_feedback_120x10_trans.gif" width="120" height="10" border="0" alt="advertisement" /></a><br /></div><a href="http://adlog.com.com/adlog/c/r=10767&s=721172&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=300&e=87&rqid=00c17-ad-e2477BFD657BA1C8A&orh=www.google.com&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&t=2008.01.14.02.23.42/http://www.bnet.com/" target="_blank"><img src="http://adlog.com.com/adlog/i/r=10767&s=721172&o=1035:&h=cn&p=2&b=9&l=en_US&site=11&pt=5100&nd=1035&pid=&cid=5820685&pp=300&e=87&rqid=00c17-ad-e2477BFD657BA1C8A&orh=www.google.com&ort=&oepartner=&epartner=&cpnmodule=&count=&ra=213.220.241.158&dvar=&ucat_rsi=&t=2008.01.14.02.23.42/http://i.i.com.com/cnwk.1d/Ads/6506/10/070319_BNET_gen_125x125.gif" height="125" width="125" alt="Click Here" border="0" /></a></div><!-- MAC [r20071210-1033-DynamicVars:1.13.8] c13-b2b-publish-web2.cnet.com::39603120 2008.01.14.02.23.42 --><!-- MAC T CF4.CF4.CF6.CF6 -->
701
702 </div><!--/goiter-->
703
704
705
706 <img src="http://dw.com.com/clear/c.gif?ts=1200277422&edId=87&prtnr=CNET%20Networks,%20Inc.&oid=5100-1035_11-5820685&ptId=5100&onId=1035&sId=11&asId=5820685&astId=1&ursAppId=55&ursClc=0&usraction=20&ld=articles.techrepublic.com.com&clgf=Cg8ILkdudw0kAAAATQg&xref=http://www.google.com/search&xrq=hl=cs%26client=iceweasel-a%26rls=org.debian%253Acs-CZ%253Aunofficial%26q=bash+array%26btnG=Hledat%26lr=" border="0" height="1" width="1" alt="" />
707
708 </body>
709 </html>
710
This page took 1.024315 seconds and 4 git commands to generate.