From: Sergei <serpiph@pochtamt.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] Помогите с рег выражением.... Date: Thu Jan 17 20:46:00 2002 Message-ID: <20020117175542.341C8302A6D@pif.b5.mephi.ru> (raw) In-Reply-To: <20020117204108.778b8c84.kosha@kp.ru> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ну, на PERL прога выглядит так (все файлы превращает в конечный вид независимо от начального вида): #!/usr/bin/perl open (LIST,"ls -1A|"); while ($file=<LIST>) { chomp $file; next if ($file=~/^\.\.?$/); $file1="\L\u$file"; print "$file -> $file1\n";# можно выкинуть rename $file,$file1; } close (LIST); - -- С уважением, Епифанов Сергей. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8RxAd4ZpgWiwK7D8RApT5AJ4hXFa5XmoDEFtLvcZlLDCPR4ZmlgCfYhS8 nojh0yCZFsjePF43SIElj8E= =b3X4 -----END PGP SIGNATURE-----
next prev parent reply other threads:[~2002-01-17 20:46 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-01-17 19:53 Korshunov Ilya 2002-01-17 20:25 ` Sergei 2002-01-17 20:30 ` Korshunov Ilya 2002-01-17 20:46 ` Sergei [this message] 2002-01-18 0:20 ` Sergey Degtyaryov 2002-01-18 8:01 ` Sergei 2002-01-17 20:59 ` Sergey Vlasov
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=20020117175542.341C8302A6D@pif.b5.mephi.ru \ --to=serpiph@pochtamt.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