create a script out of many perl commands
[email protected] (Marios lyberak) Tue, 18 Jul 2017 11:59:51 +0300
| Newsgroups | perl.perl4lib |
|---|---|
| Message-ID | <CAJ0S-ub-yNAFT5a1qYbnsUV9ofsZX7wCwuY+EACb4mHQk2ALcg@mail.gmail.com> |
--001a113eb1c40bd7ab055493bd67 Content-Type: text/plain; charset="UTF-8" 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 --001a113eb1c40bd7ab055493bd67 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div>perl <a href=3D"http://script_one.pl">scrip= t_one.pl</a> file.txt<br><br>perl <a href=3D"http://script_two.pl">script_t= wo.pl</a><br><br></div><div>perl <a href=3D"http://script_three.pl">script_= three.pl</a><br><br></div>command file_one.log file_two.log<br><br></div>a = perl one liner<br><br></div>for example <br><pre>perl -lpe 's/\s*$//= 9;<br><br></pre><pre>How could i combine all the above in a bash script?<br= ></pre><pre>i work on an ubuntu 16.04 machine<br></pre><pre>I have tried wi= th the && in linux, but i got errors<br><br></pre><pre>Thank you in= advance for any help<br></pre></div> --001a113eb1c40bd7ab055493bd67--