hi
i have a file and its contents is as below:
8290804808
1338108313
1313141441
13131313133
1313131311
33424242242
23242424242
i want to print only those fields in bold. how to do it?
hi
i have a file and its contents is as below:
8290804808
1338108313
1313141441
13131313133
1313131311
33424242242
23242424242
i want to print only those fields in bold. how to do it?
Fields 11 characters long?
sed "/^.\{11\}$/!d" input_file
or the same in awk
awk 'length == 11' input_file
sed -n '/^.\{11\}$/p' urfile
awk -F "" 'NF==11' OFS="" urfile
thanks a bunch!!! it works:)