You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nginx/nginx-demo/nginx_upstream_check_module/util/chomp.sh

15 lines
166 B

#!/bin/sh
for file in *
do
if [ -d "$file" ]
then
continue
fi
ruby util/chomp.rb < $file > /tmp/tt
mv /tmp/tt $file
done
rm -f /tmp/tt