TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

textfsm – Python module for parsing semi-structured text into Python tables

45 pointsby hypnotistover 11 years ago

4 comments

imurrayover 11 years ago
Quick link into the introductory documentation: <a href="http://code.google.com/p/textfsm/wiki/TextFSMHowto" rel="nofollow">http:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;textfsm&#x2F;wiki&#x2F;TextFSMHowto</a> — one specifies a state machine in a text template file that can include regexes and has a simple &quot;-&gt;&quot; syntax for state transitions.
andrewcookeover 11 years ago
<i>INTO TABLES</i> should be added to the title, because otherwise it&#x27;s not clear how this differs from expect.<p>to save others time - you could use it parsing things like the output from smartctl, or ifconfig.
评论 #6289757 未加载
agroverover 11 years ago
On one hand, cool! On the other hand, uncool, if it encourages more people to have their programs interact with other programs via CLI parsing. We should be using APIs and libraries instead of working around the lack of them.
mjburgessover 11 years ago
&gt; clitable<p>I&#x27;m sure im not the only one that misread that.