Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/testsuite/uniq.tests

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 815 by niro, Sat Sep 1 22:45:15 2007 UTC revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC
# Line 41  testing "uniq input - (specify stdout)" Line 41  testing "uniq input - (specify stdout)"
41  #-c occurrences  #-c occurrences
42  #-d dups only  #-d dups only
43  #-u  #-u
44    #-w max chars
45    
46  # Test various command line options  # Test various command line options
47    
# Line 60  aa bb cc9 Line 61  aa bb cc9
61  bb cc dd8  bb cc dd8
62  aa bb cc9  aa bb cc9
63  "  "
64    testing "uniq -w (compare max characters)" "uniq -w 2" \
65    "cc1
66    " "" \
67    "cc1
68    cc2
69    cc3
70    "
71    
72    testing "uniq -s -w (skip fields and compare max chars)" \
73    "uniq -s 2 -w 2" \
74    "aaccaa
75    " "" \
76    "aaccaa
77    aaccbb
78    bbccaa
79    "
80    
81  # -d is "Suppress the writing fo lines that are not repeated in the input."  # -d is "Suppress the writing fo lines that are not repeated in the input."
82  # -u is "Suppress the writing of lines that are repeated in the input."  # -u is "Suppress the writing of lines that are repeated in the input."

Legend:
Removed from v.815  
changed lines
  Added in v.816