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

p5pRT opened this issue Jul 19, 1999 · 1 comment

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

p5pRT opened this issue Jul 19, 1999 · 1 comment


Copy link

@p5pRT p5pRT commented Jul 19, 1999

Migrated from (status was 'resolved')

Searchable as RT1014$

Copy link

@p5pRT p5pRT commented Jul 19, 1999


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:
    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
    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/, so=so, useshrplib=true,
  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:

Environment for perl 5.00502:
    LOGDIR (unset)
    PERL_BADLANG (unset)

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

Successfully merging a pull request may close this issue.

None yet
1 participant