develooper Front page | perl.perl4lib | Postings from July 2017

create a script out of many perl commands

From:
Marios lyberak
Date:
July 18, 2017 09:00
Subject:
create a script out of many perl commands
Message ID:
CAJ0S-ub-yNAFT5a1qYbnsUV9ofsZX7wCwuY+EACb4mHQk2ALcg@mail.gmail.com
perl script_one.pl file.txt

perl script_two.pl

perl script_three.pl

command file_one.log file_two.log

a perl one liner

for example

perl -lpe 's/\s*$//'

How could i combine all the above in a bash script?

i work on an ubuntu 16.04 machine

I have tried with the && in linux, but i got errors

Thank you in advance for any help



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at [email protected] | Group listing | About