Hello neversaint,

I hope this doesn't make the difference...

Well, it must not, but it could, as fletch notes below. Running under apache there's no tty. Environment is different. If under chroot, even more. Search paths could be different. UID/GID, etc.

They consist of two characters ('AB','CD').

Literally AB and CD What are these for? Floppy disk and hard disk labels?

They are C binary.
And what is it supposed to do? You scarce informations leave me to just guessing :-/
Not so sure. How can I check that?
As i told you. What OS are you running? If Linux, strace(1) the binary. You should see access(), open() and ioctl() calls. If they involve a tty when run with AB, but not when run with CD, there you have it. If running on some *BSD, ktrace(1) it and kdump(1) the output. If Solaris, use truss. If Windows, grab some stuff from Sysinternals^WMicrosoft.

Do you have the source for the binary? a man page? any documentation? What's it's real name, anyways?

--shmem

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

In reply to Re^3: Strange Behaviour with Backticks by shmem
in thread Strange Behaviour with Backticks by neversaint

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.