Pre-emptive Request: Backing up installed packages.

Darryl Clarke smartssa at gmail.com
Thu Jan 26 07:48:36 UTC 2006


On 26/01/06, Darryl Clarke <smartssa at gmail.com> wrote:
> On 26/01/06, Michael T. Richter <ttmrichter at gmail.com> wrote:

> for i in `dpkg -l | cut -f3 -d\  `;
>     do echo "$i\tinstall" >> installed.txt;
> done

I need to start proof reading _before_ I send.
note the "-e" on the echo command to parse the \t properly...

for i in `dpkg -l | cut -f3 -d\  `;
     do echo -e "$i\tinstall" >> installed.txt;
done

--
~ Darryl  ~ smartssa at gmail.com
http://smartssa.com / http://darrylclarke.com




More information about the ubuntu-users mailing list