[Edit]+0-0Bash - normalize pathAmir-Hashempur607Copy1 output_path="$(cd "$input_path" 2> /dev/null && pwd || echo -n)"