#!/bin/sh if [ $# != 2 ]; then echo "Usage: $0 app_bundle new_version"; exit 1; fi FILE="$1/Contents/Info.plist" NEW="$2" ed -s "$FILE" <