Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: resolving symbolic links in a pathname

by Dominus (Parson)
on Nov 23, 2007 at 03:20 UTC ( #652483=note: print w/replies, xml ) Need Help??


in reply to Re: resolving symbolic links in a pathname
in thread resolving symbolic links in a pathname

Pardon the not-very-useful wild guess, but wasn't there a nice example program in some old Camel Book that would print out an output like
/home/mjd/foo.c /home/mjd/bar/baz/foo.c /home/mjd/bar-1.0/baz/foo.c /userhomes/m/j/mjd/bar-1.0/baz/foo.c /mnt/homevol/m/j/mjd/bar-1.0/baz/foo.c
as it progressively resolved the symlinks in higher and higher components of a path?

I thought it might have been one of those abandoned items in the Perl source eg/ directory, but I couldn't find it there, so the Camel Book was my next guess.

Addendum: This looks kinda interesting too.

Replies are listed 'Best First'.
Re^3: resolving symbolic links in a pathname
by merlyn (Sage) on Nov 23, 2007 at 03:41 UTC
Re^3: resolving symbolic links in a pathname
by shmem (Chancellor) on Nov 23, 2007 at 10:30 UTC
    Yeah, in the pink Camel Book. I posted it here some time ago: Re: Following symlinks manually (historical code)

    ;-)

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://652483]
help
Chatterbox?
[LanX]: lanx wonders ... how likely is it to talk >95% BS without intention?
[erix]: "gigantic amounts of data" is also not SQLite (imho)
talexb wonders why sqlite2 was deprecated in favour of sqlite3.
[erix]: looks like a fork, rather, no?
LanX /me /me
[erix]: /hehehe
[marto]: LanX yesterday I found out about Gish gallop tactic
[marto]: "Eugenie Scott, executive director of the National Center for Science Education, dubbed this approach the Gish gallop, describing it as "where the creationist is allowed to run on for 45 minutes or an hour, spewing forth torrents of error that the
[marto]: evolutionist hasn't a prayer of refuting in the format of a debate." She also criticized Gish for failing to answer objections raised by his opponents"

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2017-07-28 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (431 votes). Check out past polls.