How do you get a / into a filename (i.e., a / that doesn't separate components of the path)?
Short. Succinct. Correct. I can't compete with that. +1. Of course, you could edit the directory files themselves but only $DEITY knows what havoc that would cause.
                  paxdiablo
                   2009-05-31 12:20:16
                If one is only interested in the approximate look, then U+2044, U+2215 or U+FF0F might be options. But I think this would be considerably frowned upon by UNIX people.
                  Joey
                   2009-05-31 12:34:28
                Yes, it would be frowned upon. I still hunt down people who use spaces in their file names and beat them senseless with a wet stick of celery (takes a while but it's enjoyable). Unicode characters would make me livid. :-)
                  paxdiablo
                   2009-05-31 12:42:57
                Reminds me of my favorite unix-noob haze: cd; echo >"-r -f *" ... just be kind and backup there home directory first.
                  corlettk
                   2009-05-31 12:51:57
                @corlettk: this is why I have files called "-i" in strategic positions on my fs
                  Hasturkun
                   2009-05-31 13:09:31
                The reason why i asked this question at all is:This is a question on page 79 in the book "the unix programming environment"the only way i can think of is to mess up with the directory entries    in the disk block device.however, since the authors stated clearly this was a trick question.i assume there's a smarter solution.
                  James Geng
                   2009-05-31 15:30:11
                By "trick question" I think they meant there isn't a solution.
                  anon
                   2009-05-31 15:53:25
                you're probably right.it reminds me of one of interview questions"write a function/method to swap two integers in java"
                  James Geng
                   2009-05-31 16:12:59
                this is a question in the book "the unix programming environment".just curious how it's even possible.
                  James Geng
                   2009-05-31 15:36:53
                But if it would ber possible what could the system handle ambiguities?For example the folder /a/b could be a folder "a" which contains a subfolder "b" or a folder named "a/b" in the root directory.
                  codymanix
                   2009-05-31 17:30:49