Tony Arnold wrote:
<snip>
> sudo aptitude install `grep -v '^#' packages`

Tony >>> I'm very new to bash scripting, so can I just check...

Am I right in thinking that

grep -v '^#'

means 'print lines that do not start with #'

So I take it you rem out some lines in the packages file, and this 
expression ignores them?

(And am I right in thinking that the ` ` signs around the expression 
after "install" are produced by the key to the left of the 1/! key on 
the top line of the keyboard?)

TIA

Mac




-- 
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.org/UKTeam/

Reply via email to