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

howlanderson u1mail2me at gmail.com
Sun Apr 1 02:46:03 UTC 2012


Public bug reported:

 /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

** Affects: graphviz (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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