SysTutorials

Linux Manual Pages › Section 1

clufter-cmd-wrap(1)

NAME

clufter – cmd-wrap

SYNOPSIS

clufter [<global option> …] cmd-wrap [<cmd option …>]

DESCRIPTION

Wrap long lines carrying (fairly) convoluted shell commands

OPTIONS

-h, –help
show help message and exit
-H, –help-full
full help message and exit
Command options:
-i INPUT, –input=INPUT
lines carrying moderately convoluted shell commands [-]
-o OUTPUT, –output=OUTPUT
(hopefully) the same content fitting the text width [-]
-t TEXT_WIDTH, –text-width=TEXT_WIDTH
for commands rewrapping (0/-1/neg. ~ auto/disable/hi-limit) [0]
–noop=NOOP
(Advanced) debug only: NOOPize filter (2+: repeat) [none out of cmd-wrap]
–dump=DUMP
(Advanced) debug only: dump (intermediate) output of the filter (2+: repeat) [none out of cmd-wrap, ANY]
Common options:
Either in global (before <cmd>) or command scope (after <cmd>).
–sys=SYS
(Advanced) override autodetected system [linux]
–dist=DIST
override target distro (for SYS=linux; see –list-dists) [centos,7.2.1511,Core]
-q, –quiet
refrain from unnecesary messages (usually on stderr)
–color=[WHEN]
colorize messages if available [auto out of auto, never, always]
-d, –debug
shortcut for –loglevel=DEBUG
–logfile=FILE
specify log file (instead of stderr)
–loglevel=LEVEL
specify log level [WARNING out of NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL]

Arguments to value-based `command options’ can go without labels when the order wrt. parsing logic respected; skipping those backed by default values otherwise requiring specification then allowed by syntactic sugar: all can be passed as a single, first, ::-delimited argument; magic files: `-‘, `@DIGIT+’. `{formula}’ in output file spec: input-backed (e.g. hash) substitution recipe. All available commands listed as `clufter –list‘.

AUTHOR

Written by Jan Pokorný <jpokorny+pkg-clufter [at] redhat.com> and plugin authors.

REPORTING BUGS

Report bugs to <https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=clufter>

COPYRIGHT

Copyright © 2016 Red Hat, Inc. Licensed under GPLv2+.

SEE ALSO

clufter(1),

clufter-ccs2pcscmd(1), clufter-ccs2pcscmd-flatiron(1), clufter-ccs2pcscmd-needle(1), clufter-cib2pcscmd(1), clufter-pcs2pcscmd(1), clufter-pcs2pcscmd-flatiron(1), clufter-pcs2pcscmd-needle(1), and perhaps more