[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mit 'sed' Textbereich aus Datei ausschneiden



Am 2005-05-23 18:24:43, schrieb Joerg Sommer:

> das <eine_datei sollte nicht mitten im Befehl stehen. Ich weiß gar nicht,
> ob POSIX sowas überhaupt zulässt.

Das habe ich aus den Script von "bugreport"...

function pinfo()
{
sed -n </var/lib/dpkg/status -e "/^Package: $PACKAGE$/,/^Description: /p"
}

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: