Weird behavior while moving a directory - Servers Administration, Networking, & Virtualization
Users browsing this thread: 2 Guest(s)
|
|||
(30-09-2016, 10:20 AM)venam Wrote: the environment variables are the "database" of those shells It would appear that, sometimes, this is indeed the case. For example, in eval.c of Bash: Code: /* Send an escape sequence to emacs term mode to tell it the Or jobs.c: Code: /* Return the working directory for the current process. Unlike Funny thing is, I don't see $PWD being used in the "pwd" shell builtin. Instead, it calls get_working_directory() as mentioned in my previous post, which, in turn, calls the syscall getcwd(). In German, there's the nice expression, "das ist organisch gewachsen" (literal translation something like "grown in an organic manner"), which basically is a euphemism for "this is a very old code base and 1000 people have hacked on it and nobody ever cared to refactor things". :-) |
|||
Messages In This Thread |
Weird behavior while moving a directory - by venam - 29-09-2016, 05:47 AM
RE: Weird behavior while moving a directory - by TheAnachron - 29-09-2016, 06:25 AM
RE: Weird behavior while moving a directory - by movq - 30-09-2016, 09:59 AM
RE: Weird behavior while moving a directory - by venam - 30-09-2016, 10:20 AM
RE: Weird behavior while moving a directory - by movq - 30-09-2016, 01:22 PM
RE: Weird behavior while moving a directory - by TheAnachron - 01-10-2016, 06:41 AM
RE: Weird behavior while moving a directory - by movq - 01-10-2016, 07:23 AM
|