[Bug 970532] Re: /usr/bin/vimdot: 9: Syntax error: Bad fd numberon ubuntu 10.10

Dave Gilbert ubuntu at treblig.org
Sun Oct 14 14:13:51 UTC 2012


It looks like that fix is in quantal's 2.26.3-12ubuntu1; I'm not sure
which version it landed in though

$ nl -ba /usr/bin/vimdot | head -10
     1  #!/bin/sh
     2  # Written by: John Ellson <ellson at research.att.com>
     3
     4  error() { echo "$0: $*" >&2; exit 1; }
     5
     6  for prog in gvim vim ""; do
     7          if test -x /usr/bin/$prog; then break; fi
     8          if which $prog >/dev/null 2>&1; then break; fi
     9  done


** Changed in: graphviz (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to graphviz in Ubuntu.
https://bugs.launchpad.net/bugs/970532

Title:
   /usr/bin/vimdot: 9: Syntax error: Bad fd numberon ubuntu 10.10

Status in “graphviz” package in Ubuntu:
  Fix Released

Bug description:
   /usr/bin/vimdot: 9: Syntax error: Bad fd number
  i fix it myself:

  older:

   1 #!/bin/sh
   2 # Written by: John Ellson <ellson@      research.att.com>
   3
   4 error() { echo "$0: $*" >&2; exit       1; }
   5
   6 for prog in gvim vim ""; do
   7         if test -x /usr/bin/$prog;      then break; fi
   8         if which $prog >&/dev/null; then break; fi
   9 done

  newer:

  1 #!/bin/sh
   2 # Written by: John Ellson <ellson@      research.att.com>
   3
   4 error() { echo "$0: $*" >&2; exit       1; }
   5
   6 for prog in gvim vim ""; do
   7         if test -x /usr/bin/$prog;      then break; fi
   8         if which $prog >/dev/null       2>&1; then break; fi
   9 done

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/970532/+subscriptions




More information about the foundations-bugs mailing list