testing_account has asked for the wisdom of the Perl Monks concerning the following question:
i need an help for this small part of code:
but it returns:$NF = '$NF'; @elf_files = system("ls"); #or backtiks my $scraped_elfs = system("readelf -sW $elf_files[7] | awk '{print $NF +}'");
thanks.sh: unexpected "|"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system call error
by marto (Cardinal) on Apr 11, 2020 at 12:57 UTC | |
|
Re: system call error
by hippo (Archbishop) on Apr 11, 2020 at 12:56 UTC | |
|
Re: system call error
by haukex (Archbishop) on Apr 11, 2020 at 19:52 UTC |