You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vaughn /temp/ag $ ls
bar foo
vaughn /temp/ag $ cat foo/one.txt
This is a test.
vaughn /temp/ag $ cat bar/two.txt
This is another test.
vaughn /temp/ag $ ag test
./bar/two.txt
1:This is another test.
./foo/one.txt
1:This is a test.
everything is as expected so far ---
but, this seems to have the behavior expressed by -l
vaughn /temp/ag $ ag -f test
./bar/two.txt
./foo/one.txt
vaughn /temp/ag $
note: --follow correctly tries to follow symlinks (unlike -f), but has an error:
vaughn /temp/ag $ ln -s ../ag_symlink/ symlink
vaughn /temp/ag $ ls
bar foo
vaughn /temp/ag $ cat foo/one.txt
This is a test.
vaughn /temp/ag $ cat bar/two.txt
This is another test.
vaughn /temp/ag $ ag test
./bar/two.txt
1:This is another test.
./foo/one.txt
1:This is a test.
everything is as expected so far ---
but, this seems to have the behavior expressed by -l
vaughn /temp/ag $ ag -f test
./bar/two.txt
./foo/one.txt
vaughn /temp/ag $
note: --follow correctly tries to follow symlinks (unlike -f), but has an error:
vaughn /temp/ag $ ln -s ../ag_symlink/ symlink
vaughn /temp/ag $ ll
drwxr-xr-x 3 vaughn wheel 102 Apr 17 17:30 foo
drwxr-xr-x 3 vaughn wheel 102 Apr 17 17:30 bar
drwxr-xr-x 61 vaughn wheel 2.1K Apr 17 17:34 ..
lrwxr-xr-x 1 vaughn wheel 14 Apr 17 17:39 symlink -> ../ag_symlink/
drwxr-xr-x 5 vaughn wheel 170 Apr 17 17:39 .
echo 'This a test via symlink.' > symlink/three.txt
./bar/two.txt
1:This is another test.
./foo/one.txt
1:This is a test.
ERR: File ./symlink failed to load: Invalid argument.
I tried relative and absolute symlinks but got the same 'invalid argument' error.
The text was updated successfully, but these errors were encountered: