File: 001-hman-bashism.patch

package info (click to toggle)
man2html 1.6f%2Brepack-1%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,416 kB
  • ctags: 2,894
  • sloc: ansic: 9,558; sh: 2,301; makefile: 343; perl: 335; awk: 305; lisp: 171; cs: 170
file content (14 lines) | stat: -rw-r--r-- 491 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Remove bashism from hman

diff -ruN man-1.6c-old/man2html/hman.sh man-1.6c/man2html/hman.sh
--- man-1.6c-old/man2html/hman.sh	2003-03-11 16:53:29.000000000 +0100
+++ man-1.6c/man2html/hman.sh	2004-07-27 22:17:05.000000000 +0200
@@ -42,7 +42,7 @@
 fi
 
 # Interface to a live (already running) netscape browser.
-function nsfunc () {
+nsfunc () {
 	if ( /bin/ps xc | grep -q 'netscape$' ) ; then
 		if [ -x  netscape-remote ] ; then
 			exec netscape-remote  -remote "openURL($1,new_window)"