File: cfg_path.sh

package info (click to toggle)
lynx 2.8.9dev11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,556 kB
  • ctags: 12,873
  • sloc: ansic: 133,772; sh: 3,560; makefile: 1,139; perl: 995; yacc: 743
file content (5 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download | duplicates (12)
1
2
3
4
5
#!/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,"