* [mdk-re] How to add carriage return symbol into the the last line of many files?
@ 2001-06-27 10:18 Andrew Borodin
2001-06-27 10:47 ` Yura Zotov
2001-06-27 11:39 ` Vyt
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Borodin @ 2001-06-27 10:18 UTC (permalink / raw)
To: mandrake-russian
Здравствуйте!
Есть несколько файлов, у которых в последней строке нет
символа '\n'.Подскажите, пожалуйста, простой способ добавить
его туда. Мне это нужно сделать в .spec, а то patch на этих
файлах выдает ошибку.
Заранее спасибо.
А. Бородин.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mdk-re] How to add carriage return symbol into the the last line of many files?
2001-06-27 10:18 [mdk-re] How to add carriage return symbol into the the last line of many files? Andrew Borodin
@ 2001-06-27 10:47 ` Yura Zotov
2001-06-27 11:39 ` Vyt
1 sibling, 0 replies; 3+ messages in thread
From: Yura Zotov @ 2001-06-27 10:47 UTC (permalink / raw)
To: mandrake-russian
On Wed, Jun 27, 2001 at 10:30:07AM +0400, Andrew Borodin wrote:
> Здравствуйте!
>
> Есть несколько файлов, у которых в последней строке нет
> символа '\n'.Подскажите, пожалуйста, простой способ добавить
> его туда. Мне это нужно сделать в .spec, а то patch на этих
> файлах выдает ошибку.
>
> Заранее спасибо.
>
> А. Бородин.
>
$ echo >> file
--
Юрий А. Зотов
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mdk-re] How to add carriage return symbol into the the last line of many files?
2001-06-27 10:18 [mdk-re] How to add carriage return symbol into the the last line of many files? Andrew Borodin
2001-06-27 10:47 ` Yura Zotov
@ 2001-06-27 11:39 ` Vyt
1 sibling, 0 replies; 3+ messages in thread
From: Vyt @ 2001-06-27 11:39 UTC (permalink / raw)
To: mandrake-russian
On Wed, 27 Jun 2001 10:30:07 +0400
Andrew Borodin <aborodin@other.ispras.ru> wrote:
> Здравствуйте!
>
> Есть несколько файлов, у которых в последней строке нет
> символа '\n'.Подскажите, пожалуйста, простой способ добавить
> его туда. Мне это нужно сделать в .spec, а то patch на этих
> файлах выдает ошибку.
echo \n >> filename
или
echo -e \n >> filename
Могу ошибаться в символе, но как вариант... :)
<skipped>
--
Regards, Vyt
mailto:vyt@vzljot.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-06-27 11:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27 10:18 [mdk-re] How to add carriage return symbol into the the last line of many files? Andrew Borodin
2001-06-27 10:47 ` Yura Zotov
2001-06-27 11:39 ` Vyt
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git