--- ctext2class.orig	2002-06-10 19:55:34.000000000 +0900
+++ ctext2class	2011-04-19 20:43:08.000000000 +0900
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby
+#!/usr/bin/env ruby
 delimiter = "+"
 print_count = false
 
--- text2class.orig	2002-01-09 10:10:27.000000000 +0900
+++ text2class	2011-04-19 20:43:53.000000000 +0900
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby
+#!/usr/bin/env ruby
 while gets
   s = chop.split
   c = []
--- text2idtext.orig	2002-01-09 10:10:27.000000000 +0900
+++ text2idtext	2011-04-19 20:44:01.000000000 +0900
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby
+#!/usr/bin/env ruby
 
 def usage
   STDERR.print "text2idtext [-verbose] -vocab .vocab [.text]\n"
--- reverseword.orig	2002-01-09 10:10:27.000000000 +0900
+++ reverseword	2011-04-19 20:43:30.000000000 +0900
@@ -1,4 +1,4 @@
-#!/bin/awk -f
+#!/usr/bin/env awk -f
 {
 	for (i=NF; i>1;i--) {
 		printf "%s ",$i