Re: Tip: Cloning a running server
To |
czdebian-l zavinac debian bod cz |
From |
Petr Heřman <ph zavinac lf2 bod cuni bod cz> |
Date |
Fri, 10 Feb 2006 11:41:35 +0100 |
Mail-followup-to |
czdebian-l zavinac debian bod cz |
User-agent |
Mutt/1.5.11 |
On Thu, Feb 09, 2006 at 09:55:39PM -0500, Matej Cepl wrote:
> Na původním počítači:
>
> aptitude search '~i !~M' | tr -s ' ' | cut -f 2 -d ' ' | tr '\n' ' ' \
> > installed.txt
tr '\n' ' '
tr: obě dvě množiny musí být při nahrazování zadány
??
Nebylo by jednodušší např:
aptitude search '~i !~M' | awk '{printf " %s",$2}' > installed.txt
Petr Heřman
Partial thread listing:
- Re: Tip: Cloning a running server, (pokračuje)