From: Diego Alencar Alves de Lima <diegolima.br@gmail.com>
To: linux <linux-newbie@vger.kernel.org>
Subject: Capitalize a variable in a shell script
Date: Mon, 30 Oct 2006 16:26:09 -0200 [thread overview]
Message-ID: <200610301626.12914.diegolima.br@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
How can I capitalize an existing variable in a shell script? Currently
$variable is www.domain.com, and I need to create a $variable1 that contains
WWW.DOMAIN.COM (I am currently using bash as shell)
Thanks a lot
--
Diego Lima
http://sg.homelinux.com:81
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
next reply other threads:[~2006-10-30 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 18:26 Diego Alencar Alves de Lima [this message]
2006-10-31 0:50 ` Capitalize a variable in a shell script Franklin Chua
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200610301626.12914.diegolima.br@gmail.com \
--to=diegolima.br@gmail.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.