16 lines
250 B
Plaintext
16 lines
250 B
Plaintext
|
#!/usr/bin/env fish
|
||
|
|
||
|
while read f l
|
||
|
eval set f $f
|
||
|
eval set l $l
|
||
|
set f (realpath -- "$f")
|
||
|
set l (string trim "$l")
|
||
|
set t (realpath -- "$l")
|
||
|
if test "$f" != "$t"
|
||
|
echo -- "! $l"
|
||
|
echo -- "? $f"
|
||
|
echo -- "= $t"
|
||
|
echo -- "---"
|
||
|
end
|
||
|
end < links
|