The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
/bin/bash - variable substitution.
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
/bin/bash - variable substitution.
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
04-21-2009
colemar
Registered User
Join Date: Apr 2009
Location: Trento, Italy
Posts: 116
Quote:
Originally Posted by
colemar
I believe there is no way to do it at once with bash parameters substitution.
Seems to be possible, though ugly:
Code:
colemar@deb:~$ echo ${clock//@(*?=\"|\/*?)/} US
colemar
View Public Profile
Find all posts by colemar
Find colemar's past nominations received
Find colemar's present nominations given