NAME
seq-pl - Like seq, but with Perl extras
VERSION
This document describes version 0.002 of seq-pl (from Perl distribution App-seq-pl), released on 2021-07-17.
SYNOPSIS
Create numbers from 1 to 10:
% seq-pl 1 10
Create numbers from 01 to 10, no need to format as Perl will DWIM:
% seq-pl 01 10
Create hexadecimal numbers from 0x001 to 0x01e:
% seq-pl 1 31 -f "0x%03x"
Create letters from a to z:
% seq-pl a z
This I often do to put things under an alphabet series of folders:
% mkdir 0 `seq-pl a z`
Create letters from aa to bz:
% seq-pl aa bz
DESCRIPTION
This variant of seq uses Perl's autoincrement feature to create sequence, e.g. 0..10 or "01".."10", or "a".."z". The formatting also uses Perl's sprintf()
for more flexibility.
OPTIONS
--format=s, -f
--separator=s, -s
--equal-width, -w
--help, -h, -?
--version
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/App-seq-pl.
SOURCE
Source repository is at https://github.com/perlancar/perl-App-seq-pl.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-seq-pl
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
seq, the Unix utility.
Other seq variants or themes I've written: seq-intrange (from App::seq::intrange), seq-numseq (from App::seq::numseq), dateseq (from App::dateseq) which can generate date sequences, including infinite ones, seq-pericmd (from App::SeqPericmd) which lets you customize increment/step (e.g. 0.5) or limit the number of items.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021, 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.