From: Michael Shigorin <mike@osdn.org.ua> To: "культурный офтопик" <smoke-room@lists.altlinux.org> Subject: Re: [room] need help about regexp Date: Fri, 15 Dec 2006 21:11:56 +0200 Message-ID: <20061215191156.GK13823@osdn.org.ua> (raw) In-Reply-To: <4582A8A2.40008@altlinux.ru> On Fri, Dec 15, 2006 at 04:52:34PM +0300, Anton Gorlov wrote: > Файл написан на чём-то > !/usr/bin/expect -- Здрасьте, на expect(1) и написан скрипт. > {^(.{1,14}).*([#>])$} > Строка типа Cat_Root# через него проходит.. $ echo -n Cat_Root | wc -c 8 > а вот строка вида > c7301-PPPoE-AC> уже нет. echo -n c7301-PPPoE-AC | wc -c 14 Гм. А c7301-PPPoE-AC# ? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2006-12-15 19:11 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-12-15 13:52 Anton Gorlov 2006-12-15 19:11 ` Michael Shigorin [this message] 2006-12-15 21:04 ` Anton Gorlov 2006-12-15 21:06 ` Michael Shigorin 2006-12-15 21:11 ` Anton Gorlov 2006-12-18 10:04 ` Denis Kuznetsov 2006-12-15 21:35 ` Andrey Rahmatullin
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=20061215191156.GK13823@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=shigorin@gmail.com \ --cc=smoke-room@lists.altlinux.org \ /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
Культурный офтопик This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \ smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com public-inbox-index smoke-room Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.smoke-room AGPL code for this site: git clone https://public-inbox.org/public-inbox.git