Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 1999 14:27:55 +0400 (MSD)
From:      Сергей Ласкавый <laskavy@Berkeley.Gambit.Msk.SU>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/11256: sh: for loop aborted in interactive mode
Message-ID:  <199904211027.OAA30355@Berkeley.Gambit.Msk.SU>

next in thread | raw e-mail | index | archive | help

>Number:         11256
>Category:       bin
>Synopsis:       sh: for loop aborted in interactive mode
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 21 03:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Сергей Ласкавый
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
The FreeBSD Documentation Project
>Environment:

Makefile:	$Id: Makefile,v 1.28 1998/07/07 01:06:58 bde Exp $
TOUR:		$Id: TOUR,v 1.5 1997/02/22 13:58:19 peter Exp $
alias.c:	$Id: alias.c,v 1.10 1998/05/18 06:43:25 charnier Exp $
alias.h:	$Id: alias.h,v 1.5 1997/02/22 13:58:20 peter Exp $
arith.h:	$Id: arith.h,v 1.4 1997/02/22 13:58:20 peter Exp $
arith.y:	$Id: arith.y,v 1.9 1998/08/25 09:33:34 cracauer Exp $
arith_lex.l:	$Id: arith_lex.l,v 1.12 1998/08/25 09:33:34 cracauer Exp $
bltin/bltin.h:	$Id: bltin.h,v 1.9 1998/12/07 12:14:04 bde Exp $
bltin/echo.1:	$Id: echo.1,v 1.6 1997/02/22 13:58:59 peter Exp $
bltin/echo.c:	$Id: echo.c,v 1.8 1997/04/28 03:06:52 steve Exp $
builtins.def:	$Id: builtins.def,v 1.6 1997/04/28 03:50:07 steve Exp $
cd.c:		$Id: cd.c,v 1.18 1998/09/06 21:01:57 tegge Exp $
cd.h:		$Id: cd.h,v 1.4 1998/09/06 21:01:57 tegge Exp $
error.c:	$Id: error.c,v 1.13 1998/08/25 09:33:34 cracauer Exp $
error.h:	$Id: error.h,v 1.9 1998/08/24 19:15:48 cracauer Exp $
eval.c:		$Id: eval.c,v 1.15.2.1 1999/04/12 15:46:01 cracauer Exp $
eval.h:		$Id: eval.h,v 1.6 1997/02/22 13:58:24 peter Exp $
exec.c:		$Id: exec.c,v 1.12 1998/05/18 06:43:37 charnier Exp $
exec.h:		$Id: exec.h,v 1.7 1997/04/28 03:08:38 steve Exp $
expand.c:	$Id: expand.c,v 1.24.2.1 1999/04/12 15:46:01 cracauer Exp $
expand.h:	$Id: expand.h,v 1.7.2.1 1999/04/12 15:46:02 cracauer Exp $
funcs/cmv:	$Id: cmv,v 1.5 1997/02/22 13:59:01 peter Exp $
funcs/dirs:	$Id: dirs,v 1.5 1997/02/22 13:59:02 peter Exp $
funcs/kill:	$Id: kill,v 1.5 1997/02/22 13:59:03 peter Exp $
funcs/login:	$Id: login,v 1.5 1997/02/22 13:59:03 peter Exp $
funcs/newgrp:	$Id: newgrp,v 1.5 1997/02/22 13:59:04 peter Exp $
funcs/popd:	$Id: popd,v 1.5 1997/02/22 13:59:04 peter Exp $
funcs/pushd:	$Id: pushd,v 1.5 1997/02/22 13:59:05 peter Exp $
funcs/suspend:	$Id: suspend,v 1.5 1997/02/22 13:59:05 peter Exp $
histedit.c:	$Id: histedit.c,v 1.12 1998/05/18 06:43:42 charnier Exp $
init.h:		$Id: init.h,v 1.5 1997/02/22 13:58:27 peter Exp $
input.c:	$Id: input.c,v 1.11 1998/05/18 06:43:45 charnier Exp $
input.h:	$Id: input.h,v 1.6 1997/02/22 13:58:28 peter Exp $
jobs.c:		$Id: jobs.c,v 1.23 1998/09/08 13:16:52 cracauer Exp $
jobs.h:		$Id: jobs.h,v 1.10 1998/09/10 22:09:11 cracauer Exp $
machdep.h:	$Id: machdep.h,v 1.5 1997/02/22 13:58:30 peter Exp $
mail.c:		$Id: mail.c,v 1.8 1998/05/18 06:43:50 charnier Exp $
mail.h:		$Id: mail.h,v 1.5 1997/02/22 13:58:33 peter Exp $
main.c:		$Id: main.c,v 1.15 1998/05/18 06:43:52 charnier Exp $
main.h:		$Id: main.h,v 1.5 1997/02/22 13:58:34 peter Exp $
memalloc.c:	$Id: memalloc.c,v 1.12.2.1 1999/04/12 15:46:02 cracauer Exp $
memalloc.h:	$Id: memalloc.h,v 1.5 1997/02/22 13:58:35 peter Exp $
miscbltin.c:	$Id: miscbltin.c,v 1.18 1998/12/16 04:45:35 imp Exp $
mkbuiltins:	$Id: mkbuiltins,v 1.7 1997/02/22 13:58:36 peter Exp $
mkinit.c:	$Id: mkinit.c,v 1.12 1998/05/18 06:44:00 charnier Exp $
mknodes.c:	$Id: mknodes.c,v 1.9 1998/05/18 06:44:01 charnier Exp $
mksyntax.c:	$Id: mksyntax.c,v 1.12 1998/09/06 21:13:09 tegge Exp $
mktokens:	$Id: mktokens,v 1.5 1997/02/22 13:58:37 peter Exp $
myhistedit.h:	$Id: myhistedit.h,v 1.6 1997/02/22 13:58:38 peter Exp $
mystring.c:	$Id: mystring.c,v 1.9 1998/05/18 06:44:06 charnier Exp $
mystring.h:	$Id: mystring.h,v 1.5 1997/02/22 13:58:39 peter Exp $
nodes.c.pat:	$Id: nodes.c.pat,v 1.6 1997/04/28 03:14:04 steve Exp $
nodetypes:	$Id: nodetypes,v 1.5 1997/02/22 13:58:39 peter Exp $
options.c:	$Id: options.c,v 1.14 1998/05/18 06:44:08 charnier Exp $
options.h:	$Id: options.h,v 1.7.2.1 1999/04/12 15:46:02 cracauer Exp $
output.c:	$Id: output.c,v 1.9 1998/05/18 06:44:10 charnier Exp $
output.h:	$Id: output.h,v 1.7 1997/04/28 03:06:38 steve Exp $
parser.c:	$Id: parser.c,v 1.24 1998/09/13 19:24:57 tegge Exp $
parser.h:	$Id: parser.h,v 1.7 1998/09/06 21:13:09 tegge Exp $
redir.c:	$Id: redir.c,v 1.10 1998/05/18 06:44:14 charnier Exp $
redir.h:	$Id: redir.h,v 1.6 1997/02/22 13:58:43 peter Exp $
sh.1:		$Id: sh.1,v 1.23.2.2 1999/04/19 18:54:06 max Exp $
shell.h:	$Id: shell.h,v 1.10 1997/02/22 13:58:45 peter Exp $
show.c:		$Id: show.c,v 1.9 1998/05/18 06:44:19 charnier Exp $
show.h:		$Id: show.h,v 1.6 1997/04/28 03:17:51 steve Exp $
trap.c:		$Id: trap.c,v 1.17.2.1 1999/04/12 15:46:02 cracauer Exp $
trap.h:		$Id: trap.h,v 1.8 1998/08/24 10:20:37 cracauer Exp $
var.c:		$Id: var.c,v 1.12.2.1 1999/04/12 15:46:02 cracauer Exp $
var.h:		$Id: var.h,v 1.7 1998/09/06 21:13:09 tegge Exp $

>Description:

In interactive mode `for' loop aborts

>How-To-Repeat:

Run this from script and from command line:

	#!/bin/sh
	for i in /bin /nonexistent /usr/bin; do test -d "$i" && echo "$i"; done

Output from script:		/bin /usr/bin
Output from command line:	/bin

>Fix:

	No time enough to create :-)

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904211027.OAA30355>