Re: changing part of a file name
pk wrote:
> newname="${name/show/event}"
It seems double quotes are not actually needed here:
newname=${name/show/event}
--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.
|