Re: Datei bis zur ersten Leerzeile ausgeben ...
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Questo messaggio è parte di questo thread:
il thread completo ordinato per data
Hans Spath at
2003-05-20 20:29
Andreas Breitenbach at
2003-05-21 17:17
Allegati:
Messaggio come e-mail
(text/plain)
Autore:
Hans Spath
Data:
2003-05-20 20:50
UTC
To:
Linux User Schwabach
Nuovi argomenti:
viele Möglichkeiten (Re: Datei bis zur ersten Leerzeile ausgeben ...)
Oggetto:
Re: Datei bis zur ersten Leerzeile ausgeben ...
At 20.05.2003 22:29 +0200, Hans Spath wrote:
>grep -xB1000000 -m1 "" $FILE
Oder wem Perl lieber ist:
cat $FILE | perl -e "while(<>){exit if(/^$/);print}"
Gruß,
Hans