#!/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"`