Just wanted to resolve a relative file path so that I can pass it as an absolute path to a program.
#!/bin/sh
QCAD_DIR=/opt/qcad-2.2.2.0-1-prof.linux.x86
ABS_PATH=$(readlink -f "$1")
cd $QCAD_DIR && ./qcad $ABS_PATH
Credits: Andy
Just wanted to resolve a relative file path so that I can pass it as an absolute path to a program.
#!/bin/sh
QCAD_DIR=/opt/qcad-2.2.2.0-1-prof.linux.x86
ABS_PATH=$(readlink -f "$1")
cd $QCAD_DIR && ./qcad $ABS_PATH
Credits: Andy
Latest version of Windows 11 Installed Microsoft 365 apps from my licensed Microsoft Partner Microsoft Action Pack...
This script elevates to Administrator if needed and then toggles IPv6 support on the adaptor specified depending on...
3 years ago I got Apache FOP working with the Sourceforge version of Barcode4J:...
0 Comments