NAME
ansicut - cut command handling ANSI terminal sequences
SYNOPSIS
ansicut -c list ...
VERSION
Version 1.28
DESCRIPTION
This is simply an alias for ansifold(1) command. See App::ansifold manual for other options. Support only -c option compatible with cut(1) command.
OPTIONS
--cut list ...
-c list ...
Option --cut (or -c) takes cut(1) command compatible arguments.
When invoked as ansicut command, the separator string is set to the empty by default.
Next command behave exactly like cut -c list
and takes care of ANSI terminal sequences.
$ ansifold -n -c list ...
$ ansicut -c list ...
Next command retrieve column 4-6,9- and produces 45690
as a result.
$ echo 1234567890 | ansicut -c 4-6,9-
^^^ ^^
Unlike cut(1)'s -c option, parameter number is taken as screen columns of the terminal, rather than number of logical characters.
INSTALL
CPANMINUS
$ cpanm App::ansifold
SEE ALSO
AUTHOR
Kazumasa Utashiro
LICENSE
Copyright ©︎ 2018-2024 Kazumasa Utashiro
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.