zsh-workers
 help / color / mirror / code / Atom feed
* Bug involving named pipes and globbing...
@ 1995-05-21 21:12 Clueboy
  0 siblings, 0 replies; only message in thread
From: Clueboy @ 1995-05-21 21:12 UTC (permalink / raw)
  To: zsh

zsh seems to try to read named pipes as directories when globbing into
directories.  Here's an example:

% echo $ZSH_VERSION                                          ~/test 2:03pm envy
2.6-beta8
% uname -a                                                   ~/test 2:04pm envy
HP-UX envy A.09.01 A 9000/735 2010594854 two-user license
% mkdir test                                                      ~ 1:59pm envy
% cd test                                                         ~ 1:59pm envy
% mkdir dir1 dir2                                            ~/test 2:06pm envy
% touch dir1/a dir1/b dir2/a dir2/b                          ~/test 2:07pm envy
% echo */*                                                   ~/test 2:07pm envy
dir1/a dir1/b dir2/a dir2/b
% mkfifo pipe                                                ~/test 2:07pm envy
% ls -l                                                      ~/test 2:07pm envy
total 4
drwxr-xr-x   2 sethml   users       1024 May 21 14:07 dir1/
drwxr-xr-x   2 sethml   users       1024 May 21 14:07 dir2/
prw-r--r--   1 sethml   users          0 May 21 14:07 pipe|
% echo */*                                                   ~/test 2:07pm envy
[ The shell freezes. ]^C
% echo */*                                                 ~/test 2:07pm envy 1
[ The shell freezes.  In another shell:
	% cd
	% mkdir test2
	% touch test2/foo test2/bar test/baz
	% cat test2 > test/pipe ]
dir1/a dir1/b dir2/a dir2/b
%                                                            ~/test 2:09pm envy

Seth


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-05-21 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-05-21 21:12 Bug involving named pipes and globbing Clueboy

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).