karacharlie
Programmer
Hi
I have several files e.g. file1 file2 file3
I'd like to find out which of these files contain six blanks at
the beginning of at least one line within the file:
e.g.
file1:
<blank><blank><blank><blank><blank><blank>12345 4343
<blank><blank><blank><blank><blank><blank>87584 394
647364 34783
file2:
34637
sdfer2348r52
488
file3:
74 745674
<blank><blank><blank><blank><blank><blank>34
343289453
So the script should give as result:
file1 and file3
I have several files e.g. file1 file2 file3
I'd like to find out which of these files contain six blanks at
the beginning of at least one line within the file:
e.g.
file1:
<blank><blank><blank><blank><blank><blank>12345 4343
<blank><blank><blank><blank><blank><blank>87584 394
647364 34783
file2:
34637
sdfer2348r52
488
file3:
74 745674
<blank><blank><blank><blank><blank><blank>34
343289453
So the script should give as result:
file1 and file3