Hello, I want to use awk and sed in a perl script as Im not sure how to do it in a perl script as yet
I want to run this command, awk 'BEGIN {FS="\t"}; {print $1}' | sed 's/.$//' but Im getting the below error
Use of uninitialized value $1 in concatenation (.) or string at ./myperlscript.pl line 50, <stdin> line 1. sed: -e expression #1, char 3: unterminated `s' command
Any pointers or how I can run this in a perl script, or how to do this via perl code, Im still new to perl and programming
In reply to perl to run awk and sed by deelinux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |