TweetFollow Us on Twitter

MacTech Article: 2606Mac in the Shell

26.06 Mac in the Shell: bash String Operations

by Edward Marczak
Jun, 2010 Issue


Article Synopsis

At the end of last month's column I promised more bash tips and ticks this month. That's right: ticks. If I can have the latitude to define 'ticks' as, "a little used shall convention due to the nervous tick it induces," I think I can make that typo work retroactively. The bash shell has support for some of the same string operations that other languages do, without the need to call some non-native shell routine. This month, I'll introduce bash's string operators and examples of how to use them.




This article was published in the 26.06 issue of MacTech Magazine. Subscribers saw this article in the print magazine when it was first published. MacTech provides its readers with valuable information each and every month, but even if it only solves one problem for you a year, it's more than paid for itself.

Subscribe today with a special RISK FREE trial subscription ... and get the back issues at the MacTech Store, or the new MacTech CD with the history of the magazine all in one convenient place.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All


Price Scanner via MacPrices.net


Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.