Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a pipe does not work as documented between the backticks #208

Closed
p5pRT opened this issue Jul 19, 1999 · 1 comment
Closed

a pipe does not work as documented between the backticks #208

p5pRT opened this issue Jul 19, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Jul 19, 1999

Migrated from rt.perl.org#1014 (status was 'resolved')

Searchable as RT1014$

@p5pRT
Copy link
Author

p5pRT commented Jul 19, 1999

From gordon@cs.ut.ee

The pipe ("|") does not work as documented between the backticks
(`` or qx//) or in system function.

When I try to build a puffy-train between the backticks,
only the first command is executed, but without ANY arguments,
even if I supply them. It does not give any error message even,
like "the pipe is not supported", etc.

Example​: if we have a program that counts and lists its arguments,
called "showargs", then

  print `showargs x yy zzz`; # works well, prints all of them

  print `showargs x yy zzz | head`; # says it was given NO arguments

Perl Info


Site configuration information for perl 5.00502:

Configured by tsoome at Fri Oct  9 20:47:46 EET DST 1998.

Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris-thread
    uname='sunos madli 5.6 generic_105181-07 sun4u sparc sunw,ultra-enterprise '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_REENTRANT -I/usr/local/include'
    ccflags ='-D_REENTRANT -I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lposix4 -lpthread -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /usr/local/lib/perl5/5.00502/sun4-solaris-thread/CORE'
    cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00502:
    /usr/local/lib/perl5/5.00502/sun4-solaris-thread
    /usr/local/lib/perl5/5.00502
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris-thread
    /usr/local/lib/perl5/site_perl/5.005
    .


Environment for perl 5.00502:
    HOME=/home/gordon
    LANG=et
    LD_LIBRARY_PATH=/usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/lib:/usr/local/orbeline/lib
    LOGDIR (unset)
    PATH=/bin:/home/gordon/bin:/usr/xpg4/bin:/bin:/bin/nsr:/usr/dt/bin:/usr/openwin/bin:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/opt/SUNWspro/bin:/opt/local/teTeX/bin:/usr/games:/usr/ucb:/home/gordon/bin:.
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant