Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mirekrusin
on Sept 26, 2024
|
parent
|
context
|
favorite
| on:
Tcl 9.0
Should be starts with ~/
cmacleod4
on Sept 26, 2024
[–]
No, ~abc will be interpreted as the home directory of user abc in Tcl 8.*
eviks
on Sept 27, 2024
|
parent
[–]
Then you fix this mistake, not remove ~ completely
Y_Y
on Sept 27, 2024
|
root
|
parent
[–]
It's not a mistake
mirekrusin
on Sept 27, 2024
|
root
|
parent
[–]
If it's not a mistake then why they took it off?
cmacleod4
on Sept 28, 2024
|
root
|
parent
[–]
The original design decision was to behave like a shell, where ~ means your own home dir and ~fred means fred's home dir. With the benefit of experience, this is now seen to be unwise and a different decision has been made.
eviks
on Sept 30, 2024
|
root
|
parent
[–]
So they copied the mistake from some shell (you don't need much experience to realize it's unwise not to use a separator to separate)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: