Why don't I get any output for this?You will get output if you use strict and warnings. Then, get more info with diagnostics. It won't be the output you want to get, but you will get warning messages.
Perhaps this does not work because history is a shell built-in command which is not in the PATH environment variable.
Update: As a potential workaround, it seems that some shells support a history file. Perhaps it is as simple as setting an environment variable (HISTFILE?) in your shell, then parsing that file inside your Perl code.
In reply to Re: command line history?
by toolic
in thread command line history?
by brp4h
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |