ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Denis Nazarov <marsden@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как удалить пробелы
Date: Mon, 1 Sep 2008 10:01:57 +0600
Message-ID: <200809011001.57716.marsden@mail.ru> (raw)
In-Reply-To: <48BB671C.9070109@rambler.ru>

В сообщении от Monday 01 September 2008 09:53:00 Kharitonov A. Dmitry написал(а):
> На чем вы предложите написать?

да хотя бы на перле :)


#!/usr/bin/perl

my $str="   123   123  ";
print "$str\n"; # получаем "   123   123  "
$str =~ s/^( )*//ig;
print "$str\n";  #  получаем "123   123  "

  reply	other threads:[~2008-09-01  4:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-31 14:17 Kharitonov A. Dmitry
2008-08-31 14:25 ` Michael Holzman
2008-08-31 16:00   ` Yura Kalinichenko
2008-08-31 16:32     ` Kharitonov A. Dmitry
2008-09-01 13:19     ` Yury Aliaev
2008-08-31 16:33   ` Kharitonov A. Dmitry
2008-09-01 14:15     ` Slava Dubrovskiy
2008-08-31 18:21 ` Yuri Bushmelev
2008-09-01 20:10   ` Michael Shigorin
2008-09-01  3:27 ` Gleb Kulikov
2008-09-01  3:53   ` Kharitonov A. Dmitry
2008-09-01  4:01     ` Denis Nazarov [this message]
2008-09-01 17:48       ` Kharitonov A. Dmitry
2008-09-02  2:46         ` Gleb Kulikov
2008-09-01  4:40     ` Gleb Kulikov
2008-09-01  4:52       ` Denis Nazarov
2008-09-01  4:56         ` Andrey Rahmatullin
2008-09-01 11:27       ` Yuri Bushmelev
2008-09-01 11:40         ` Mikhail Gusarov

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=200809011001.57716.marsden@mail.ru \
    --to=marsden@mail.ru \
    --cc=community@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

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