usage: clp [-v] [history-file::] [perl-options] [perl-arguments]
example: clp -n /var/log/syslog
Command Line Perl with readline support, @ARGV and Specials. Type "?" for help.
(perl):: ?
? print this help
?? print comand line editing help
?! print extra history help
??? print examples
! show history
!! edit history
** toggle verbose mode
\/ toggle print newline mode
... DD(VAR) print Data Dump for variable VAR, example: DD(%ENV)
... ## ... call perl with extra args (@ARGV), example: ## *.log
... #| sh-code pipe output from perl-code to sh-code, example: #| less
... #> file write output from perl-code to file, example: #> clp.log
... #!| sh-code pipe output from perl-code to sh-code and your terminal
... #!> file write output from perl-code to file and your terminal
<sh-code> ... read stdin from sh-code, example: <find .> print while <>
[options] ... run perl with options, example: [-p] s/\s/_/g
(perl):: ??
<Cursor-Up> get previous line | Ctrl-A begin of line
<Cursor-Down> get next line | Ctrl-E end of line
Alt-F word forward | Alt-D delete next word
Alt-B word backward | Ctrl-U delete to begin of line
Ctrl-R search in history | Ctrl-K delete to end of line
Ctrl-X Ctrl-E edit current line | Ctrl-Y undelete
(perl):: ???
@p=split ':',$ENV{PATH}; DD(@p)
use Encode; print encode("UCS2","aöz") #|hexdump
<date> $_=<>; print scalar reverse $_