* [mdk-re] bash script
@ 2001-04-18 16:22 Lenya L.Khachaturov
2001-04-18 22:02 ` Sergei
0 siblings, 1 reply; 4+ messages in thread
From: Lenya L.Khachaturov @ 2001-04-18 16:22 UTC (permalink / raw)
To: mandrake-russian
Здравствуйте уважаемые,
Как бы мне сделать следующее: вот лежит у меня Сильфидовская почта, каждое письмо в отдельном файле
с именами 1,2,3,.... Надо слить их все в один файл, чтобы в The Bat! импортировать. Помогите, пожалуйста!
--
Хачатуров Леонид
mailto:lenyak@mail.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [mdk-re] bash script
2001-04-18 16:22 [mdk-re] bash script Lenya L.Khachaturov
@ 2001-04-18 22:02 ` Sergei
2001-04-18 23:24 ` Ivan Zakharyaschev
0 siblings, 1 reply; 4+ messages in thread
From: Sergei @ 2001-04-18 22:02 UTC (permalink / raw)
To: mandrake-russian
17 Апрель 2001 21:09 Вы написали:
> Здравствуйте уважаемые,
>
> Как бы мне сделать следующее: вот лежит у меня Сильфидовская почта, каждое
> письмо в отдельном файле с именами 1,2,3,.... Надо слить их все в один
> файл, чтобы в The Bat! импортировать. Помогите, пожалуйста!
Может, поможет:
for i in 1 2 3 4 5 6 <и так далее>; do cat $i >>allmail ; done
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [mdk-re] bash script
2001-04-18 22:02 ` Sergei
@ 2001-04-18 23:24 ` Ivan Zakharyaschev
2001-04-19 21:51 ` Sergei
0 siblings, 1 reply; 4+ messages in thread
From: Ivan Zakharyaschev @ 2001-04-18 23:24 UTC (permalink / raw)
To: mandrake-russian
Hello!
On Wed, 18 Apr 2001, Sergei wrote:
> 17 Апрель 2001 21:09 Вы написали:
> > Здравствуйте уважаемые,
> >
> > Как бы мне сделать следующее: вот лежит у меня Сильфидовская почта,
> каждое
> > письмо в отдельном файле с именами 1,2,3,.... Надо слить их все в
> один
> > файл, чтобы в The Bat! импортировать. Помогите, пожалуйста!
> Может, поможет:
> for i in 1 2 3 4 5 6 <и так далее>; do cat $i >>allmail ; done
В bash есть арифметические операции. И циклы for с ними. Подробнее можно
прочитать в документации (info, man).
Best regards,
Ivan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [mdk-re] bash script
2001-04-18 23:24 ` Ivan Zakharyaschev
@ 2001-04-19 21:51 ` Sergei
0 siblings, 0 replies; 4+ messages in thread
From: Sergei @ 2001-04-19 21:51 UTC (permalink / raw)
To: mandrake-russian
18 Апрель 2001 23:27 Вы написали:
> Hello!
>
> On Wed, 18 Apr 2001, Sergei wrote:
> > 17 Апрель 2001 21:09 Вы написали:
> > > Здравствуйте уважаемые,
> > >
> > > Как бы мне сделать следующее: вот лежит у меня Сильфидовская почта,
> >
> > каждое
> >
> > > письмо в отдельном файле с именами 1,2,3,.... Надо слить их все в
> >
> > один
> >
> > > файл, чтобы в The Bat! импортировать. Помогите, пожалуйста!
> >
> > Может, поможет:
> > for i in 1 2 3 4 5 6 <и так далее>; do cat $i >>allmail ; done
Написал, что первое пришло в голову
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-04-19 21:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18 16:22 [mdk-re] bash script Lenya L.Khachaturov
2001-04-18 22:02 ` Sergei
2001-04-18 23:24 ` Ivan Zakharyaschev
2001-04-19 21:51 ` Sergei
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