[Sussex] Woody, here I come :-)

Thomas Adam thomas_adam16 at yahoo.com
Tue Feb 24 01:48:47 UTC 2004


 --- Steve Dobson <steve at dobson.org> wrote: 

> No - I like commands I can run from cron and pass the output into a 
> pipe or off to a file.

:) So do I, but then, that applies to almost all of the CLI utilities.
Aptitude is no exception to this.

apt-get install $(apt-cache search foo notekeeper | awk '{print $1}')

aptitude search yank | awk '$1 ~ /p/ {print $2}'

For example.

(N.B. results may be slightly different, but the indication is there)

-- Thomas Adam

=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)


	
	
		
___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html




More information about the Sussex mailing list