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 -->
#
7
(
permalink
)
04-21-2009
trey85stang
Registered User
Join Date: May 2008
Posts: 74
Quote:
Originally Posted by
colemar
Seems to be possible, though ugly:
Code:
colemar@deb:~$ echo ${clock//@(*?=\"|\/*?)/} US
looks like that will do it, good stuff. I appreciate it. This will save me a lot of work creating a bunch of variables in a script
trey85stang
View Public Profile
Find all posts by trey85stang
Find trey85stang's past nominations received
Find trey85stang's present nominations given