On 5/30/06, Hiroshi SAKURAI <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I launch fish-1.21.7 on NetBSD 3.0, fish emits lots of printf-related
> error messages.
>
> Following is a part of output of debug() with debug_level=10.
>
> =================
>
> fish: Job is constructed
> fish: Continue job 2 (if test "$USER" = root), UNCOMPLETED, NON-INTERACTIVE
> fish: Set status of if test "$USER" = root to 1
> fish: Exec job 'end' with id 2
> fish: Set status of end to 1 using short circut
> fish: Job is constructed
> fish: Continue job 2 (end), COMPLETED, NON-INTERACTIVE
> fish: Created pipe using fds 4 and 5
> fish: eval: printf "^%s\\(\\|/\\)\$\\|" $PATH | sed -e "s/..\$//"
> fish: get_filename( 'printf' )
> fish: get_filename( 'sed' )
> fish: Exec job 'printf "^%s\\(\\|/\\)\$\\|" $PATH | sed -e "s/..\$//"' with
> id 3
> fish: Create barrier
> fish: Send all updates to connection on fd 3
> fish: before write of 8 chars to fd 3
> fish: Sent barrier request
> fish: env_universal_read_all()
> fish: parse_message( BARRIER_REPLY );
> fish: Got barrier reply
> fish: End barrier
> fish: Created pipe using fds 6 and 7
> fish: Job is constructed
> fish: Continue job 3 (printf "^%s\\(\\|/\\)\$\\|" $PATH | sed -e
> "s/..\$//"), UNCOMPLETED, NON-INTERACTIVE
> fish: select_try on 4
>
> printf: unknown escape sequence `\('
> printf: unknown escape sequence `\|'
> printf: unknown escape sequence `\)'
> printf: unknown escape sequence `\|'
> printf: unknown escape sequence `\('
> printf: unknown escape sequence `\|'
> printf: unknown escape sequence `\)'
> printf: unknown escape sequence `\|'
> printf: unknown escape sequence `\('
> printf: unknown escape sequence `\|'
> printf: unknown escape sequence `\)'
> printf: unknown escape sequence `\|'
> printf: unknown escape sequence `\('
> printf: unknown escape sequence `\|'
> printf: unknown escape sequence `\)'
> printf: unknown escape sequence `\|'
>
> ===============
>
> It seems that /usr/bin/printf on NetBSD works differently
> from the one on Linux.
So it seems. I rewrote the printf-call so that it should work on
NetBSD. Patch is in the Darcs tree.
Thanks for the bug report!
>
> Thank you.
>
> --
> Hiroshi SAKURAI
> http://vimrc.hp.infoseek.co.jp/
--
Axel
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users