ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: ASA <llb@udm.ru>
To: Igor Moskalev <community@altlinux.ru>
Subject: [Comm] Re[2]: [Comm] Re[2]: [Comm] Аналог Recycle Bin
Date: Thu, 28 Nov 2002 13:44:18 +0400
Message-ID: <18311469862.20021128134418@udm.ru> (raw)
In-Reply-To: <Pine.LNX.4.44L.0211280240110.11867-100000@localhost.localdomain>

Hello Igor,

Thursday, November 28, 2002, 1:28:35 PM, you wrote:

IM> С другой стороны, если команда rm -rf используется в скрипте (т.е.
IM> синтаксис нельзя заменить), то надо переписывать скрипт, например так:

IM> #----------------------------
IM> #!/bin/sh
IM> if [ -z $2 ] ; then

IM>            mv $1 $HOME/Корзина/ ;
IM> else
IM>        mv $2 $HOME/Корзина/ ;
IM> fi
IM> #---------------------------

IM> Тут вообще пофигу, какие параметры для rm Вы используете, они
IM> игнорируются :-)

а если rm file1 file2?
или rm *
короче, действительно чисто демонстрация

-- 
Best regards,
 ASA                            mailto:llb@udm.ru



  reply	other threads:[~2002-11-28  9:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-27 20:49 Mikhail Ramendik
2002-11-27 22:30 ` Vitaly Lipatov
2002-11-28  0:06   ` [Comm] Re[2]: " Mikhail Ramendik
2002-11-28  4:20     ` jin
2002-11-28  4:47       ` Igor Moskalev
2002-11-28  7:42         ` Mike
2002-11-28  9:09           ` Vitaly Lipatov
2002-11-28 13:05             ` Vitaly Lugovsky
2002-11-28 19:00               ` [Comm] Re: [JT] " Vitaly Lipatov
2002-11-28 19:04                 ` Vitaly Lugovsky
2002-11-28 23:42                   ` [Comm] Re[2]: " Maksim Otstavnov
2002-11-29 10:45                     ` Vitaly Lugovsky
2002-11-29  6:01                   ` Alexey I. Froloff
2002-11-28  9:28           ` [Comm] Re[2]: [Comm] " Igor Moskalev
2002-11-28  9:44             ` ASA [this message]
2002-11-28  9:56               ` [Comm] Re[2]: " Igor Moskalev
2002-11-28 12:59         ` Vitaly Lugovsky
2002-11-29 23:01         ` Andrey Orlov
2002-11-28 12:57       ` Vitaly Lugovsky
2002-11-28 12:53   ` Vitaly Lugovsky
2002-11-28 14:47 ` Sergey Kuznetsov

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=18311469862.20021128134418@udm.ru \
    --to=llb@udm.ru \
    --cc=community@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