Unix Programming - Re: anything similar to C string manipulation functions in shell

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > February 2004 > Re: anything similar to C string manipulation functions in shell





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: anything similar to C string manipulation functions in shell
Floyd Davidson

2004-02-17, 12:34 am

George Kooper <tentimes5@hotmail.com > wrote:
>anything similar to C string manipulation functions in shell
>scripting language


Read the shell man page section on parameter expansion.
The capabilities are fairly extensive.

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@barrow.com
joe durusau

2004-02-17, 3:34 am



George Kooper wrote:

> anything similar to C string manipulation functions in shell
> scripting language


Not in sh. PERL has such, and there are many progs you can call
with any shell that will manipulate strings. (eg sed, awk, ...)

try
man <whatever_shell_you_use>

to see what it has.

Speaking only for myself,

Joe Durusau

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com