From: "Stefan Fröberg" <stefan.froberg@petroprogram.com>
To: buildroot@busybox.net
Subject: [Buildroot] Bash string manipulation in Kconfig
Date: Mon, 03 Sep 2012 21:56:31 +0300 [thread overview]
Message-ID: <5044FD5F.102@petroprogram.com> (raw)
Hello everyone.
What is the equivalent buildroot thing for handling the following bash
string stuff ?
FULL_DOWNLOAD_URL="http://www.somedomain.com/blah/blah2/blahblahblah/somefile"
FILE=${FULL_DOWNLOAD_URL##*/}
echo ${FILE}
That will correctly print only the last part of the url, "somefile"
But how to do similar in buildroot .mk files ???
Best regards
Stefan
next reply other threads:[~2012-09-03 18:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-03 18:56 Stefan Fröberg [this message]
2012-09-03 19:08 ` [Buildroot] Bash string manipulation in Kconfig Thomas Petazzoni
2012-09-03 19:13 ` Stefan Fröberg
2012-09-03 19:53 ` Stefan Fröberg
2012-09-03 20:01 ` Thomas Petazzoni
2012-09-03 20:07 ` Stefan Fröberg
2012-09-03 20:07 ` Yann E. MORIN
2012-09-03 20:12 ` Stefan Fröberg
2012-09-04 5:53 ` Arnout Vandecappelle
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=5044FD5F.102@petroprogram.com \
--to=stefan.froberg@petroprogram.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox