hs: a pedestrian history search engine

Version (8.29 KB) by us
hs searches the command history for patterns
Updated 21 Apr 2009

View License

HS searches the command history file for entries containing a specific pattern using the regular expression engine.
the results are displayed in the command window in the format:

#entry location: line

clicking the -location- will open the history file at this line;
clicking the -line- will copy/paste the line to the command prompt and may be return by an [ENTER] command.


>> help hs

for more explanations for this snippet

Cite As

us (2024). hs: a pedestrian history search engine (https://www.mathworks.com/matlabcentral/fileexchange/20610-hs-a-pedestrian-history-search-engine), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Yuri Kotliarov has disclosed a strange behavior, which was corrected; thanks, Yuri!
version tag: 21-Apr-2009 21:38:10

changed line-click from rerun to copy/paste to the command prompt; version tag 29-Aug-2008 17:28:54