File: fto.html

package info (click to toggle)
abs-guide 10-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 6,952 kB
  • sloc: sh: 14,129; makefile: 81
file content (940 lines) | stat: -rw-r--r-- 14,375 bytes parent folder | download | duplicates (3)
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
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
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>File test operators</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Advanced Bash-Scripting Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Tests"
HREF="tests.html"><LINK
REL="PREVIOUS"
TITLE="Tests"
HREF="tests.html"><LINK
REL="NEXT"
TITLE="Other Comparison Operators"
HREF="comparison-ops.html"><META
HTTP-EQUIV="Content-Style-Type"
CONTENT="text/css"><LINK
REL="stylesheet"
HREF="common/kde-common.css"
TYPE="text/css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1"><META
HTTP-EQUIV="Content-Language"
CONTENT="en"><LINK
REL="stylesheet"
HREF="common/kde-localised.css"
TYPE="text/css"
TITLE="KDE-English"><LINK
REL="stylesheet"
HREF="common/kde-default.css"
TYPE="text/css"
TITLE="KDE-Default"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#AA0000"
VLINK="#AA0055"
ALINK="#AA0000"
STYLE="font-family: sans-serif;"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Advanced Bash-Scripting Guide: An in-depth exploration of the art of shell scripting</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="tests.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 7. Tests</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="comparison-ops.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="FTO"
></A
>7.2. File test operators</H1
><DIV
CLASS="VARIABLELIST"
><P
><B
><A
NAME="RTIF"
></A
>Returns true if...</B
></P
><DL
><DT
><SPAN
CLASS="TOKEN"
>-e</SPAN
></DT
><DD
><P
>file exists</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-a</SPAN
></DT
><DD
><P
>file exists</P
><P
>This is identical in effect to <SPAN
CLASS="TOKEN"
>-e</SPAN
>.
	      It has been <SPAN
CLASS="QUOTE"
>"deprecated,"</SPAN
>

	        <A
NAME="AEN3289"
HREF="#FTN.AEN3289"
>[1]</A
>
	      
	      and its use is
	      discouraged.</P
></DD
><DT
><A
NAME="REGULARFILE"
></A
><SPAN
CLASS="TOKEN"
>-f</SPAN
></DT
><DD
><P
>file is a <TT
CLASS="REPLACEABLE"
><I
>regular</I
></TT
>
	      file (not a directory or <A
HREF="devproc.html#DEVFILEREF"
>device
	      file</A
>)</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-s</SPAN
></DT
><DD
><P
>file is not zero size</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-d</SPAN
></DT
><DD
><P
>file is a directory</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-b</SPAN
></DT
><DD
><P
>file is a <A
HREF="devproc.html#BLOCKDEVREF"
>block
	    device</A
></P
><P
><A
NAME="BLOCKDEVTEST"
></A
></P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-c</SPAN
></DT
><DD
><P
><A
NAME="CHARDEVTEST"
></A
>file is a <A
HREF="devproc.html#CHARDEVREF"
>character device</A
></P
><P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>   1&nbsp;device0="/dev/sda2"    # /   (root directory)
   2&nbsp;if [ -b "$device0" ]
   3&nbsp;then
   4&nbsp;  echo "$device0 is a block device."
   5&nbsp;fi
   6&nbsp;
   7&nbsp;# /dev/sda2 is a block device.
   8&nbsp;
   9&nbsp;
  10&nbsp;
  11&nbsp;device1="/dev/ttyS1"   # PCMCIA modem card.
  12&nbsp;if [ -c "$device1" ]
  13&nbsp;then
  14&nbsp;  echo "$device1 is a character device."
  15&nbsp;fi
  16&nbsp;
  17&nbsp;# /dev/ttyS1 is a character device.</PRE
></TD
></TR
></TABLE
></P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-p</SPAN
></DT
><DD
><P
>file is a <A
HREF="special-chars.html#PIPEREF"
>pipe</A
></P
><P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>   1&nbsp;function show_input_type()
   2&nbsp;{
   3&nbsp;   [ -p /dev/fd/0 ] &#38;&#38; echo PIPE || echo STDIN
   4&nbsp;}
   5&nbsp;
   6&nbsp;show_input_type "Input"                           # STDIN
   7&nbsp;echo "Input" | show_input_type                    # PIPE
   8&nbsp;
   9&nbsp;# This example courtesy of Carl Anderson.</PRE
></TD
></TR
></TABLE
></P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-h</SPAN
></DT
><DD
><P
>file is a <A
HREF="external.html#SYMLINKREF"
>symbolic
	      link</A
></P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-L</SPAN
></DT
><DD
><P
>file is a symbolic link</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-S</SPAN
></DT
><DD
><P
>file is a <A
HREF="devproc.html#SOCKETREF"
>socket</A
></P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-t</SPAN
></DT
><DD
><P
><A
NAME="TERMTEST"
></A
>file (<A
HREF="io-redirection.html#FDREF"
>descriptor</A
>) is
	      associated with a terminal device</P
><P
>This test option <A
HREF="miscellany.html#II2TEST"
> may be used
	      to check</A
> whether the <TT
CLASS="FILENAME"
>stdin</TT
>
	      <TT
CLASS="USERINPUT"
><B
>[ -t 0 ]</B
></TT
> or
	      <TT
CLASS="FILENAME"
>stdout</TT
> <TT
CLASS="USERINPUT"
><B
>[ -t 1 ]</B
></TT
>
	      in a given script is a terminal.</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-r</SPAN
></DT
><DD
><P
>file has read permission (<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>for the
	      user running the test</I
></SPAN
>)</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-w</SPAN
></DT
><DD
><P
>file has write permission (for the user running
	      the test)</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-x</SPAN
></DT
><DD
><P
>file has execute permission (for the user running
	    the test)</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-g</SPAN
></DT
><DD
><P
>set-group-id (sgid) flag set on file or directory</P
><P
>If a directory has the <TT
CLASS="REPLACEABLE"
><I
>sgid</I
></TT
>
	      flag set, then a file created within that directory belongs
	      to the group that owns the directory, not necessarily to
	      the group of the user who created the file. This may be
	      useful for a directory shared by a workgroup.</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-u</SPAN
></DT
><DD
><P
><A
NAME="SUIDREF"
></A
></P
><P
>set-user-id (suid) flag set on file</P
><P
>A binary owned by <I
CLASS="FIRSTTERM"
>root</I
>
	      with <TT
CLASS="REPLACEABLE"
><I
>set-user-id</I
></TT
> flag set
	      runs with <I
CLASS="FIRSTTERM"
>root</I
> privileges, even
	      when an ordinary user invokes it.
	      
		<A
NAME="AEN3400"
HREF="#FTN.AEN3400"
>[2]</A
>

	      This is useful for executables (such as
	      <B
CLASS="COMMAND"
>pppd</B
> and <B
CLASS="COMMAND"
>cdrecord</B
>)
	      that need to access system hardware. Lacking the
	      <I
CLASS="FIRSTTERM"
>suid</I
> flag, these binaries could not
	      be invoked by a <I
CLASS="FIRSTTERM"
>non-root</I
> user.</P
><P
>	      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
> 	      <TT
CLASS="COMPUTEROUTPUT"
>-rwsr-xr-t    1 root       178236 Oct  2  2000 /usr/sbin/pppd</TT
>
 	      </PRE
></TD
></TR
></TABLE
>
	      </P
><P
>A file with the <TT
CLASS="REPLACEABLE"
><I
>suid</I
></TT
>
		flag set shows an <I
CLASS="FIRSTTERM"
>s</I
> in its
		permissions.</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-k</SPAN
></DT
><DD
><P
><TT
CLASS="REPLACEABLE"
><I
>sticky bit</I
></TT
> set</P
><P
>Commonly known as the <I
CLASS="FIRSTTERM"
>sticky bit,</I
>
	      the <I
CLASS="FIRSTTERM"
>save-text-mode</I
> flag is a special
	      type of file permission. If a file has this flag set,
	      that file will be kept in cache memory, for quicker access.
	        <A
NAME="AEN3423"
HREF="#FTN.AEN3423"
>[3]</A
>
	      If set on a directory, it restricts write permission.
	      Setting the sticky bit adds a <I
CLASS="FIRSTTERM"
>t</I
>
	      to the permissions on the file or directory listing.
	      This restricts altering or deleting specific files 
	      in that directory to the owner of those files.</P
><P
>	      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
> 	      <TT
CLASS="COMPUTEROUTPUT"
>drwxrwxrwt    7 root         1024 May 19 21:26 tmp/</TT
>
 	      </PRE
></TD
></TR
></TABLE
>
	      </P
><P
>If a user does not own a directory that has the sticky
		bit set, but has write permission in that directory, she
		can only delete those files that she owns in it. This
		keeps users from inadvertently overwriting or deleting
		each other's files in a publicly accessible directory,
		such as <TT
CLASS="FILENAME"
>/tmp</TT
>.
		(The <I
CLASS="FIRSTTERM"
>owner</I
> of the directory or
		<I
CLASS="FIRSTTERM"
>root</I
> can, of course, delete or
		rename files there.)</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-O</SPAN
></DT
><DD
><P
>you are owner of file</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-G</SPAN
></DT
><DD
><P
>group-id of file same as yours</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>-N</SPAN
></DT
><DD
><P
>file modified since it was last read</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>f1 -nt f2</SPAN
></DT
><DD
><P
>file <TT
CLASS="REPLACEABLE"
><I
>f1</I
></TT
> is newer than
		<TT
CLASS="REPLACEABLE"
><I
>f2</I
></TT
></P
></DD
><DT
><SPAN
CLASS="TOKEN"
>f1 -ot f2</SPAN
></DT
><DD
><P
>file <TT
CLASS="REPLACEABLE"
><I
>f1</I
></TT
> is older than
		<TT
CLASS="REPLACEABLE"
><I
>f2</I
></TT
></P
></DD
><DT
><SPAN
CLASS="TOKEN"
>f1 -ef f2</SPAN
></DT
><DD
><P
>files <TT
CLASS="REPLACEABLE"
><I
>f1</I
></TT
> and
		<TT
CLASS="REPLACEABLE"
><I
>f2</I
></TT
> are hard links to the same
		file</P
></DD
><DT
><SPAN
CLASS="TOKEN"
>!</SPAN
></DT
><DD
><P
><SPAN
CLASS="QUOTE"
>"not"</SPAN
> -- reverses the sense of the
	    tests above (returns true if condition absent).</P
></DD
></DL
></DIV
><DIV
CLASS="EXAMPLE"
><HR><A
NAME="BROKENLINK"
></A
><P
><B
>Example 7-4. Testing for broken links</B
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>   1&nbsp;#!/bin/bash
   2&nbsp;# broken-link.sh
   3&nbsp;# Written by Lee bigelow &#60;ligelowbee@yahoo.com&#62;
   4&nbsp;# Used in ABS Guide with permission.
   5&nbsp;
   6&nbsp;#  A pure shell script to find dead symlinks and output them quoted
   7&nbsp;#+ so they can be fed to xargs and dealt with :)
   8&nbsp;#+ eg. sh broken-link.sh /somedir /someotherdir|xargs rm
   9&nbsp;#
  10&nbsp;#  This, however, is a better method:
  11&nbsp;#
  12&nbsp;#  find "somedir" -type l -print0|\
  13&nbsp;#  xargs -r0 file|\
  14&nbsp;#  grep "broken symbolic"|
  15&nbsp;#  sed -e 's/^\|: *broken symbolic.*$/"/g'
  16&nbsp;#
  17&nbsp;#+ but that wouldn't be pure Bash, now would it.
  18&nbsp;#  Caution: beware the /proc file system and any circular links!
  19&nbsp;################################################################
  20&nbsp;
  21&nbsp;
  22&nbsp;#  If no args are passed to the script set directories-to-search 
  23&nbsp;#+ to current directory.  Otherwise set the directories-to-search 
  24&nbsp;#+ to the args passed.
  25&nbsp;######################
  26&nbsp;
  27&nbsp;[ $# -eq 0 ] &#38;&#38; directorys=`pwd` || directorys=$@
  28&nbsp;
  29&nbsp;
  30&nbsp;#  Setup the function linkchk to check the directory it is passed 
  31&nbsp;#+ for files that are links and don't exist, then print them quoted.
  32&nbsp;#  If one of the elements in the directory is a subdirectory then 
  33&nbsp;#+ send that subdirectory to the linkcheck function.
  34&nbsp;##########
  35&nbsp;
  36&nbsp;linkchk () {
  37&nbsp;    for element in $1/*; do
  38&nbsp;      [ -h "$element" -a ! -e "$element" ] &#38;&#38; echo \"$element\"
  39&nbsp;      [ -d "$element" ] &#38;&#38; linkchk $element
  40&nbsp;    # Of course, '-h' tests for symbolic link, '-d' for directory.
  41&nbsp;    done
  42&nbsp;}
  43&nbsp;
  44&nbsp;#  Send each arg that was passed to the script to the linkchk() function
  45&nbsp;#+ if it is a valid directoy.  If not, then print the error message
  46&nbsp;#+ and usage info.
  47&nbsp;##################
  48&nbsp;for directory in $directorys; do
  49&nbsp;    if [ -d $directory ]
  50&nbsp;	then linkchk $directory
  51&nbsp;	else 
  52&nbsp;	    echo "$directory is not a directory"
  53&nbsp;	    echo "Usage: $0 dir1 dir2 ..."
  54&nbsp;    fi
  55&nbsp;done
  56&nbsp;
  57&nbsp;exit $?</PRE
></TD
></TR
></TABLE
><HR></DIV
><P
><A
HREF="zeros.html#COOKIES"
>Example 31-1</A
>, <A
HREF="loops.html#BINGREP"
>Example 11-8</A
>,
	  <A
HREF="loops.html#FILEINFO"
>Example 11-3</A
>, <A
HREF="zeros.html#RAMDISK"
>Example 31-3</A
>, and <A
HREF="contributed-scripts.html#MAILFORMAT"
>Example A-1</A
> also illustrate uses of the file test
	  operators.</P
></DIV
><H3
CLASS="FOOTNOTES"
>Notes</H3
><TABLE
BORDER="0"
CLASS="FOOTNOTES"
WIDTH="100%"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.AEN3289"
HREF="fto.html#AEN3289"
>[1]</A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>		Per the 1913 edition of <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Webster's
		Dictionary</I
></SPAN
>:
		<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>   1&nbsp;Deprecate
   2&nbsp;...
   3&nbsp;
   4&nbsp;To pray against, as an evil;
   5&nbsp;to seek to avert by prayer;
   6&nbsp;to desire the removal of;
   7&nbsp;to seek deliverance from;
   8&nbsp;to express deep regret for;
   9&nbsp;to disapprove of strongly.</PRE
></TD
></TR
></TABLE
>
	        </P
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.AEN3400"
HREF="fto.html#AEN3400"
>[2]</A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>Be aware that <I
CLASS="FIRSTTERM"
>suid</I
>
		  binaries may open security holes. The
		  <I
CLASS="FIRSTTERM"
>suid</I
> flag has no effect on
		  shell scripts.</P
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.AEN3423"
HREF="fto.html#AEN3423"
>[3]</A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>On Linux systems, the sticky
		  bit is no longer used for files, only on
		  directories.</P
></TD
></TR
></TABLE
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="tests.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="comparison-ops.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Tests</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="tests.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Other Comparison Operators</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>