1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh # Shave and a Haircut # (c) 2019 Epic Games # US Patent 6720962 # Returns the absolute path for a file path which may be relative to the current directory. cd -P -- `dirname -- "$1"` echo `pwd -P`/`basename -- "$1"`