Skip to content

Executing flag n + in a script does not stop execution. #93

@borkovic

Description

@borkovic
rc/ $ cat s
ls trip*

flag n +
ls sig*.c

flag n -
ls glo*.c

Executing flag n + does not stop execution. If it did, how would we recover flag n -. Should flag 'n' be immutable?

rc/ $ rc -x s
ls trip.rc tripping.c
trip.rc		tripping.c
flag n +
ls sigmsgs.c signal.c
sigmsgs.c	signal.c
flag n -
ls glob.c glom.c
glob.c	glom.c

I expected no output, similar to the case when -n is passed on the command line:

rc/ $ rc -n -c 'ls trip*'
rc/ $
rc/ $ rc -x -n -c 'ls trip*'
ls trip*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions