15 lines
185 B
Bash
Executable File
15 lines
185 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd "$(dirname "$0")/.." || exit
|
|
|
|
line="$1"
|
|
|
|
url=$(echo "$line" | cut -d ' ' -f7)
|
|
|
|
full="$(pwd)/content$url"
|
|
|
|
dir=${full%/*}
|
|
page=${url##*/}
|
|
|
|
"bin/ac_route.sh" "$dir" "$page"
|