From the manpage:
> As look performs a binary search, the lines in file must be sorted...
I assume you didn't sort your source file first.
> As look performs a binary search, the lines in file must be sorted...
I assume you didn't sort your source file first.
sort ~/.zshrc -o /tmp/.zshrc
look "#" /tmp/.zshrc
Sorry for the noise but I am confused... :|
Try setting LC_COLLATE=C and export it and retry.
Thanks for this answer...