From: "Alexei V. Mezin" <alexei-mezin@rambler.ru> To: smoke-room@lists.altlinux.org Subject: [room] Хочется странного -- "продвинутый less" Date: Wed, 14 Sep 2011 19:31:41 +0400 Message-ID: <4E70C8DD.50209@rambler.ru> (raw) Нужно просматривать логи глазами. Сейчас длинный конвеер берет лог-файл, выкидывает из него через grep ненужное, чуть-чуть фильтрует нужное, и результат попадает в less. Нужно просматривать с незавернутыми на краю экрана сроками, но периодически заворачивать их. less -S делает первое, но потом никак не получить второе. Так же хочется, чтоб можно было "выкидывать" из просмотра строки, содержащие определенную подстроку. И подсвечивать подстроки, удовлетворяющие маске. Какой инструмент можно использовать? Нутром чую, что что-то вроде vim может подойти. Во всяком случае строки завернуть/развернуть можно. А вот с выкидыванием строк как быть?
next reply other threads:[~2011-09-14 15:31 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-09-14 15:31 Alexei V. Mezin [this message] 2011-09-14 15:40 ` Michael Bykov 2011-09-15 4:53 ` Alexey Voinov 2011-09-15 5:45 ` Andrew Borodin
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=4E70C8DD.50209@rambler.ru \ --to=alexei-mezin@rambler.ru \ --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