ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/doomfrontend/dfe
Revision: 1.1
Committed: Sat Mar 25 16:27:19 2023 UTC (14 months, 3 weeks ago) by root
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #!/bin/sh
2    
3     (
4     while : ; do
5     case "x$1" in
6     x-* )
7     printf "%s\000" "$1"
8     shift
9     ;;
10     * )
11     break
12     ;;
13     esac
14     done
15     for file in "$@"; do
16     file=$(readlink -nf "$file")
17     if [ "$(stat -c%D:%f -- "$file")" = "$(stat -c%D:%f -- /fs/doom/"$file")" ]; then
18     file=/fs/doom/"$file"
19     fi
20     printf '%s\000' "$file"
21     done
22     ) >/run/user/0/doomfrontend.external
23    
24     printf "external\012" | socat stdio tcp:10.0.0.5:6546
25    
26