Mazani radku
Pavel JANIK ml.
pjanik na aida.inet.cz
Středa Červenec 2 18:57:03 CEST 1997
> Nevite nekdo prosim a v souboru smazat prvnich x radku.
Na ...ou otazku ...a odpoved:
joe file
========
a pote x krat stisknout CTRL+y (x je konstanta udavajici pocet mazanych radku)
nebo
vi file
=======
a pote 2*x krat stisknout 'd'
a ted inteligentni odpoved:
sed '1,xd' file
===============
dale: man sed
PJ
--
############################################################################
# #
# Pavel.JANIK na inet.cz #
# arch/sparc/kernel/smp.c: #
# #
# printk("Entering SparclinuxMultiPenguin(SMP) Mode...\n"); #
# printk("Penguin %d is stuck in the bottle.\n", i); #
# #
# PGP Public Key - http://www.inet.cz/~pjanik/ #
# Top URL - http://www.math.muni.cz/cgi-bin/LSD #
############################################################################
Další informace o konferenci Linux