nixers
[Perl] Prettify Command Output. - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics)
+--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix)
+--- Thread: [Perl] Prettify Command Output. (/Thread-Perl-Prettify-Command-Output)


[Perl] Prettify Command Output. - crshd - 27-07-2012

I've been working on some Perl wrappers to prettify the output of common commands.

#df
[Image: vZXZ5bQ.png]
###Script
**Note:** BSD users need to use _gdf_ instead of BSD's _df_



#uname
![scrot](http://paste.xinu.at/IvsxN/)
###Script
**Note:** Untested on BSD. If I remember correctly, uname on BSD is different than Linux, so I suppose it won't work.


RE: [Perl] Prettify Command Output. - yrmt - 27-07-2012

GNU df is needed. ;)

[Image: 90t0]

Updates: line 55/71, change %-15s to 18 _(crshd)_

So, now it looks better:

[Image: Xk7ssI]


RE: [Perl] Prettify Command Output. - simon - 30-07-2012

cool, Im using cope (found on trapd00rs place @ git) right now.
please share this :D


RE: [Perl] Prettify Command Output. - Dritz - 04-09-2012

I've been using the 'df' script. Excellent work!

It's too bad I don't know perl.