Bug 149047

Summary: [patch] tcsh(1) bears no mention of brace expansion in case labels
Product: Documentation Reporter: Andres Perera <andres.perera>
Component: Books & ArticlesAssignee: Eitan Adler <eadler>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Andres Perera 2010-07-28 21:30:09 UTC
The man page explains that variable expansion and filename
substitution characters are allowed within `case:' labels in `switch'
clauses, but does not mention brace expansion.

As a result, many tcsh scripts show awkward statements such as:

	case foo:
	case bar:
		breaksw;

instead of a more idiomatic approach:

	case {foo,bar}:
		breaksw;
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2012-05-06 21:20:28 UTC
State Changed
From-To: open->closed

tcsh has been updated which may have fixed the issue. in addition tcsh 
is contributed software which means we don't write it, just use it. 
Perhaps upstream would be interested?
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2012-05-06 21:20:44 UTC
Responsible Changed
From-To: freebsd-doc->eadler

I closed it.