1
0
Fork 0
lynx/scripts/cfg_path.sh
Daniel Baumann 20df3659cf
Adding upstream version 2.9.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 08:10:34 +02:00

5 lines
252 B
Bash
Executable file

#!/bin/sh
# Use this script for substituting the configured path into lynx.cfg -
# not all paths begin with a slash.
SECOND=`echo "$2" | sed -e 's,^/,,'`
sed -e "/^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]*:file:/s,/PATH_TO/$1,/$SECOND,"