From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 3 May 2004 21:47:02 +0400 From: Sergey Vlasov To: community@altlinux.ru Subject: Re: [Comm] =?koi8-r?B?98/Q0s/TINDP?= bash Message-ID: <20040503174702.GA2229@sirius.home> Mail-Followup-To: community@altlinux.ru References: <4095A09F.6090901@help0.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <4095A09F.6090901@help0.ru> X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-From: vsu@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 17:47:06 -0000 Archived-At: List-Archive: List-Post: --J/dobhs11T7y2rNN Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 03, 2004 at 02:30:07PM +1300, Arcady V. Ivanov wrote: > =F7=CF=D4 =D4=D5=D4 =D2=C1=DA=C7=CC=D1=C4=D9=D7=C1=C0 =CB=CF=CE=D3=D4=D2= =D5=CB=C3=C9=C0 =D7 /etc/bashrc =C9 =CE=C5 =CD=CF=C7=D5 =D7=DF=C5=C8=C1=D4= =D8: > --------------------- > # Are we an interactive shell? > if [ -z "${-##*i*}" ]; then > --------------------- >=20 > ${-##*i*} - =DE=D4=CF =CF=DA=CE=C1=DE=C1=C5=D4 =C9 =D7 =CB=C1=CB=C9=C8 = =D3=CC=D5=DE=C1=D1=C8 =DC=D4=CF=D4 if =D3=D2=C1=C2=C1=D4=D9=D7=C1=C5=D4. =F0=C5=D2=C5=CD=C5=CE=CE=C1=D1 $- =D3=CF=C4=C5=D2=D6=C9=D4 =CE=C1=C2=CF=D2 = =D5=D3=D4=C1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C9=D4 =CF=DB=C9=C2=CB=D5 - =D5=D3=CC=CF=D7=C9=C5 =D7=D9=D0=CF=CC= =CE=C9=D4=D3=D1 =CE=C5 =D4=CF=CC=D8=CB=CF =D0=D2=C9 =D5=D3=D4=C1=CE=CF=D7=CC=C5=CE=CE=CF=CA =CF=D0=C3=C9=C9 i (=C4=CC= =D1 interactive shell), =CE=CF =C9 =D7 =D4=CF=CD =D3=CC=D5=DE=C1=C5, =CB=CF=C7=C4=C1 =D7 $- =D0=D5=D3=D4=C1=D1 =D3=D4=D2=CF=CB=C1 (=CE=C5 =D5=D3= =D4=C1=CE=CF=D7=CC=C5=CE=C1 =CE=C9 =CF=C4=CE=C1 =CF=D0=C3=C9=D1). =EE=D5= =D6=CE=CF =CC=C9=C2=CF =C4=CF=C2=C1=D7=CC=D1=D4=D8 && [ -n "$-" ], =CC=C9=C2=CF =CE=C1=D0=C9=D3=C1= =D4=D8 =D7=CD=C5=D3=D4=CF =DC=D4=CF=C7=CF case. --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAloWWW82GfkQfsqIRAp8zAJwPbYYJQZg60Vv91K0fdT5eX9OcHgCffsU+ k6JDBe6q2cGJ54wKC4T2WrI= =IUd9 -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--