Oldes / Rebol-issues

Issue tracker for https://github.com/oldes/Rebol3
4 stars 0 forks source link

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

Closed orr721 closed 1 year ago

orr721 commented 1 year ago
>> 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 commented 1 year ago

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