#!/bin/sh if sed --version | grep -q 'GNU sed'; then # Remove trailing white space sed -i 's/\s\s*$//' pom.c pom.h fi git add -u