From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Mon, 8 Feb 2010 14:52:25 +0200 From: Michael Shigorin To: community@lists.altlinux.org Message-ID: <20100208125225.GK13793@osdn.org.ua> Mail-Followup-To: community@lists.altlinux.org References: <201002011540.21124.gusev.v.u@pkb.ru> <20100201131051.GA7665@wrars-comp.wrarsdomain> <201002012227.47110.a_s_y@sama.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i Subject: Re: [Comm] etcnet.org ? X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2010 12:52:32 -0000 Archived-At: List-Archive: List-Post: On Mon, Feb 01, 2010 at 10:22:35PM +0300, Arioch wrote: > Суть в том, что в баше очень опасны констуркции типа "rm -rf /$FOLDER" > Нет проверки, что $FOLDER установлен. Для этого может быть достаточно чего-то вроде rm -rf /${FOLDER:-delme} -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/