Mailinglist Archive: opensuse-kernel (83 mails)
| < Previous | Next > |
Re: [opensuse-kernel] scripting a download and attach.
- From: Jan Engelhardt <jengelh@xxxxxxxxxx>
- Date: Sat, 12 Jun 2010 08:42:24 +0200 (CEST)
- Message-id: <alpine.LSU.2.01.1006120823480.9680@xxxxxxxxxxxxxxx>
On Saturday 2010-06-12 07:41, doiggl@xxxxxxxxxxxxxxxxxx wrote:
Parsing HTML with grep is absolutely error-prone.
Better do a file glob on v2.6/, sort according to number and extract the
latest.
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
Hello
Two questions i have.
1. Is it possible to download the latest kernel full source from
kernel.org, and attach the downloaded source to the current project ?.
2. Is it possible to run the following from obs say once a day ?.
Thanks Glenn
rm index.html
wget -c http://kernel.org/.
grep -i "Full Source" index.html | head -1 | cut -d"\"" -f2
wget -c `grep -i "Full Source" index.html | head -1 | cut -d"\"" -f2`
Parsing HTML with grep is absolutely error-prone.
Better do a file glob on v2.6/, sort according to number and extract the
latest.
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
| < Previous | Next > |