[15:30] morning [16:03] <_stink_> not anymore! [16:04] Just-in-time-morning [16:48] heh [16:48] it's always morning somewhere [16:48] (less relevant for a geographically-specific channel, but w/e) [18:54] anyone up for some bash help? my curdir is a symlink to another dir. when I ls .. I see the contents of parent dir of the actual dir instead of the contents of parent of the symlink. why? and how to change this behavior? [18:55] jrwren: add a / to the dir? [18:55] rick_h_: same behavior. [18:55] maybe shells always did this and I just never realized. [18:56] jrwren: Yeah, it's a pita [18:57] But it's working as expected [18:57] lol. I can't believe in 20yrs I never noticed. [18:57] UNIX is the onion that keeps on peeling [18:58] and sometimes drives the tears if you're not careful [18:58] *grumble* [18:58] I mean, I noticed yrs ago and thought it was a bash setting I had screwed up. [18:58] hrm... shit, now I i'm remembering something about the UFS paper mentioning it. [18:58] its in the UFS paper that first introduced symlinks, isn't it? [18:59] * jrwren dies. [18:59] I think I'm just having a bad day. [18:59] nevermind me. [18:59] Even better: pwd will blow your mind [18:59] how so? [18:59] craig@lister:~/tmp$ pwd [18:59] /home/craig/tmp [18:59] that doesn't blow my mind. [18:59] lrwxrwxrwx 1 craig craig 4 Nov 9 2012 tmp -> /tmp [19:00] no? [19:00] not even a little? [19:00] nope [19:00] sorry. [19:00] (not even a little kid's cap gun boom?") [19:01] Then why did the .. in cwd blow your mind? :) [19:01] because I could have sworn it was configurable behavior. [19:02] ah [19:02] but... maybe it is because I had previously run with set -P and so if I cd into a symlink dir it resolved the symlink and took me there. [19:02] That's possible [19:02] Or you were naughty and used hard links. [19:03] can you hardlink a dir? [19:03] hard link not allowed for directory [19:03] -d, -F, --directory [19:03] allow the superuser to attempt to hard link directories (note: will probably fail due to system restrictions, even [19:04] for the superuser) [19:04] ah, naughty [19:04] Operation not permitted [19:04] i guess ext4 doesn't support them.