[wellylug] a bit of data bashing
Grant McLean
grant at mclean.net.nz
Tue Mar 24 09:33:49 NZDT 2015
How about ...
seq -f 'file%06g.whatever' $X $Y > simple-text-file
Cheers
Grant
On Tue, 2015-03-24 at 09:07 +1300, edouard chalaron wrote:
> Hello all
>
> Might be trivial, but as usual it's when you have your glasses on your
> nose that you can't find them. :-/
>
> Here we go.
> I am a trying to generate a relatively simple text file in which I would
> find a list such as
>
> file00000X.whatever
> .
> .
> .
> .
> file00000Y.whatever
>
> Knowing values of X and Y
>
> A loop from X to Y seems the way to go, but then I have troubles with
> SED / awk
>
> Any hint ?
> Many thanks
> Ed.
More information about the wellylug
mailing list