#!/bin/sh sed -e 's/172\.25\.10\.87/172\.25\.10\.81/g' < "$1" > "$1.tmp" && mv -f "$1.tmp" "$1"