#!/bin/bash #------------------------------------------------------------------------------ set -u # Checks version using 'strings' so I can run this on my Mac even when # executables for built for a different platform (linux26x86_64). for f in p4 p4broker p4d p4p; do Version=$(strings */*/$f | grep '@(#)P4'|head -1|sed 's:^.*)::g') echo Version of $f is: $Version done
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 24786 | C. Thomas Tyler | Added exes. |