Home | History | Annotate | Line # | Download | only in cut
      1 ----- test: cut -f 1 -d : d_cut.in -----
      2 1
      3 
      4 12	34	56
      5 	12		34	56
      6 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
      7 1
      8 
      9 12
     10 qwe
     11 
     12 ----- test: cut -f 2 -d : d_cut.in -----
     13 1
     14 
     15 12	34	56
     16 	12		34	56
     17 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
     18 1
     19 
     20 34
     21 rty
     22 qwe
     23 ----- test: cut -f 3 -d : d_cut.in -----
     24 1
     25 
     26 12	34	56
     27 	12		34	56
     28 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
     29 1
     30 
     31 56
     32 uio
     33 
     34 ----- test: cut -f 1-2 -d : d_cut.in -----
     35 1
     36 
     37 12	34	56
     38 	12		34	56
     39 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
     40 1
     41 
     42 12:34
     43 qwe:rty
     44 :qwe
     45 ----- test: cut -f 2,3 -d : d_cut.in -----
     46 1
     47 
     48 12	34	56
     49 	12		34	56
     50 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
     51 1
     52 
     53 34:56
     54 rty:uio
     55 qwe:
     56 ----- test: cut -f 4 -d : d_cut.in -----
     57 1
     58 
     59 12	34	56
     60 	12		34	56
     61 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
     62 1
     63 
     64 
     65 p[]
     66 
     67 ----- test: cut -f 1-3,4-7 -d : d_cut.in -----
     68 1
     69 
     70 12	34	56
     71 	12		34	56
     72 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
     73 1
     74 
     75 12:34:56
     76 qwe:rty:uio:p[]:asd:fgh:jkl
     77 :qwe:::rty:uio:
     78 ----- test: cut -f 1,2-7 -d : d_cut.in -----
     79 1
     80 
     81 12	34	56
     82 	12		34	56
     83 qwe		rty	uio	p[]	asd		fgh	jkl	zxc	vbn	nm
     84 1
     85 
     86 12:34:56
     87 qwe:rty:uio:p[]:asd:fgh:jkl
     88 :qwe:::rty:uio:
     89