From: Roman Mediakov <merv@utb.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] Кто нить программит ? Date: Thu Dec 27 10:10:01 2001 Message-ID: <1009437143.2036.3.camel@merv.it.utb.ru> (raw) In-Reply-To: <20011227092954.35bb6809.vserge@menatepspb.msk.ru> > On Thu, 27 Dec 2001 08:57:29 +0300 > Sergey Krivulja <skrivulja@erec.ru> wrote: > > > Hello mandrake-russian, > > > > Кто нить программит на Паскале? > > Мне необходимо срочно написать прогу > > на Паскале. В ней предусмотреть перенаправление ввода-вывода. > > Например так - progr1 par1 par2 < in_file1 > out_file2 > > progr1 - имя самой программы > > par1 - параметр1 > > par2 - параметр2 > > in_file1 - входной файл > > out_file2 - выходной файл > > > > Неподкажет кто? > > Может я чего не понимаю, но решение мне витится такое > как один из вариантов разобрать строку параметров > и после этого если есть "<" и за ним "in_file1" то читаьт из этого файла > если есть ">" и за ним "out_file2" писать в него ??? Насколько я понял, это шелл делает, а не сама программа. Т.е. если написать так в командной строке, то bash перенаправит всё сама. > > > > -- > > Best regards, > > Sergey mailto:skrivulja@erec.ru > > > > > > > -- > With best wishes, Volkov Serge > Network Administrator/Security Administrator
next prev parent reply other threads:[~2001-12-27 10:10 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-27 8:52 Sergey Krivulja 2001-12-27 9:33 ` Volkov Serge 2001-12-27 10:10 ` Roman Mediakov [this message] 2001-12-27 10:27 ` [mdk-re] " Mikhail Zabaluev 2001-12-27 11:57 ` [mdk-re] Кто нить программит на пасквиле? Michael Shigorin 2001-12-27 10:06 ` [mdk-re] Кто нить программит ? Roman Mediakov 2001-12-27 17:32 ` [mdk-re] " Mike 2001-12-28 9:48 ` [mdk-re] " Sergey Krivulja 2001-12-28 11:45 ` ROmul 2001-12-28 16:11 ` [mdk-re] " Mike
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1009437143.2036.3.camel@merv.it.utb.ru \ --to=merv@utb.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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