]> git.armaanb.net Git - bin.git/blob - man/slink.1.scd
slink: add program
[bin.git] / man / slink.1.scd
1 slink(1)
2
3 # NAME
4 *slink* - link shortener
5
6 # SYNOPSIS
7 Run with your favorite web server
8
9 # DESCRIPTION
10 CGI program written in awk that reads a list of redirects from a file and serves
11 them. Looks for the list in */etc/slink* or from the file specified in the first
12 command line argument. The first column of the file has the initial path (in
13 $PATH_INFO format), and the second column has the target.
14
15 ## EXAMPLE
16 ```
17 /first-input https://target-url.com
18 /second-input https://second-target-url.com
19 /third-input https://third-target-url.com
20 ```
21
22 # COPYRIGHT
23 This is free and unencumbered software released into the public domain. For more
24 information, please refer to <https://unlicense.org/>.