1
0
Fork
You've already forked seq-unicode
0
seq over unicode characters, e.g. to generate ranges of letters or emojis
  • Rust 80.1%
  • Nix 19.9%
2026年03月15日 21:35:32 +01:00
src use clap_mangen to generate a man page 2026年03月15日 21:27:02 +01:00
.envrc add cargo metadata 2026年02月11日 15:41:18 +01:00
.gitignore add nix flake 2026年03月15日 21:30:42 +01:00
build.rs use clap_mangen to generate a man page 2026年03月15日 21:27:02 +01:00
Cargo.lock bump version 2026年03月15日 21:35:32 +01:00
Cargo.toml bump version 2026年03月15日 21:35:32 +01:00
flake.lock add nix flake 2026年03月15日 21:30:42 +01:00
flake.nix add nix flake 2026年03月15日 21:30:42 +01:00
LICENSE add README and LICENSE 2026年02月11日 15:21:17 +01:00
README.md use clap 2026年02月17日 21:57:22 +01:00

seq-unicode

This is a simple rust program to seq over ranges of unicode characters.

e.g.

$ sequ a z
a
b
c
[...]
y
z
$ sequ b 3 g
b
f
$ sequ 🍆 🍑
🍆
🍇
🍈
🍉
🍊
🍋
🍌
🍍
🍎
🍏
🍐
🍑

This is especially useful with fish-shell missing character range matchers like bash has with e.g. [a-z].

Syntax

either:

$ sequ <start-char> <end-char>

or:

$ sequ <start-char> <increment> <end-char>

<start-char> and <end-char> have to be valid characters.

<increment> has to be a positive integer.

Caveats

Beware that entering vastly different characters can result in huge ranges of characters being printed:

$ sequ a ඞ | wc -l
3390
$ sequ p 🐢 | wc -l
125875

Licensing

GPL-3.0-or-later