View Single Post
Old 03-29-2012, 04:34 PM   #6
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by PoP View Post
@geekmaster FYI.

For some reason, when viewing your first post, the line
Code:
  eips 0 39 "$(echo "$1"|tr ";{}`!#$%^" _|cut -b-50)"
has its triple back slash before the ` eaten away by the forum software (php interpretation maybe?).
I just changed tags on the box containing the script code from a php box to a code box. Those characters show now. Thanks. But now we lost the pretty colors.

That line of code translates all the characters that eips dislikes to underscore, so it does not send complaints to STDERR. The triple-backslash is actually an escaped backslash and an escaped backtick.
Quote:
Originally Posted by PoP View Post
Quite an ingenious script. Thanks.
Thanks for the compliment! I have a lot of interesting code snippets (/bin/sh and C) that I plan to publish when I get around to it. Seeing that others are interested in this makes it seem like less of a waste of my time. Feedback is essential!


Last edited by geekmaster; 03-29-2012 at 04:52 PM.
geekmaster is offline   Reply With Quote