On Tue, 2013-11-12 at 07:56 +0000, Alex Naysmith wrote:
> linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')

It does complete the name "linux-headers-".

Run

echo $(uname -r|sed 's,[^-]*-[^-]*-,,')

or

uname -r|sed 's,[^-]*-[^-]*-,,'

to see what it does add. "uname -r" does show the kernel release, the
sed command does format it.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1384251324.1111.161.camel@archlinux

Reply via email to