Skip to content

~ folder name expansion does not work in all cases #2556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
orr721 opened this issue Jul 5, 2023 · 1 comment
Closed

~ folder name expansion does not work in all cases #2556

orr721 opened this issue Jul 5, 2023 · 1 comment

Comments

@orr721
Copy link

orr721 commented Jul 5, 2023

>> ls ~   ; does not work, bad expansion
Not found: /Users/user/Desktop/~/

>> ls :~  ; correct
[DIR: /Users/user/
... snip ...

>> read ~  ; correct
== [%.Rhistory %.irb_history %.config/ %.macports/ %Music/ %.retro_history %.DS_Store %.zprofile.macports-saved_2022-05-03_at_21%3A28%3A08 %.CFUserTextEncoding %bin/ %.local/ %Pictures/ %.links/ %.zprofile %.rnd %.zsh_history %Desktop/ %Library/ %.lesshst %.cups/ %.sqlite_history %Public/ %.ssh/ %Movies/ %Applications/ %.Rapp.history %.Trash/ %.snipaste/ %.elinks/ %Documents/ %.anydesk/ %.gem/ %.swiftpm/ %Downloads/ %.python_history %.cache/ %VMs/ %.bash_history %.zsh_sessions/]

>> cd ~    ; correct 
%/Users/user/
== %/Users/user/

I have tested it on MacOS 13, Ubuntu 22 and Windows 10. The problem is the same. Thanks!

@Oldes
Copy link
Owner

Oldes commented Jul 5, 2023

It should be noted, that ~ is just a shortcut!

Oldes added a commit to Oldes/Rebol3 that referenced this issue Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants