Cygwin, right? See this. There was possibly some network query in the case of
time //xxx[]
, this would explain the delay. However I'm surprised that Bash treated []
as a globbing pattern in the case of time echo $pat
(or did it?). What happens when you use exactly one slash? or three slashes?