E-Mail:

Where can I find the ‘rev’ command line utility?

Dave, I am a Sun Solaris sysadmin and really liked your book
Wicked Cool Shell Scripts. However, I don’t seem to find the “rev” utility on any of my Sun servers running Solaris 2.6, 7, 8, and even 9. I couldn’t find it on the sunfreeware.com site either. Could you tell me where I can find it?

Thanks for your note. I don’t really know where to find the “real” rev utility, but it’s so darn simple that I whipped out a rudimentary C version of it for you. In case you, the reader, doesn’t know what this amusing little utility does, it reverses the order of characters in a line, so Wicked Cool would become looC dekciW.

Before I present the code, I want to invite people to pop over to my business weblog The Intuitive Life, where Sun Microsystems President Jonathan Schwartz and I are currently discussing the state of Solaris and the future of Solaris 10 in the topic Sun complains, IBM won’t port apps to Solaris 10. Please feel free to add your own comments about Solaris and Sun’s worldwide strategy there too!

Here’s the rev program, in C…

Continue reading about The ‘rev’ utility for Sun Solaris

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

66 queries / 0.372 seconds.