I avoid using ' or " in one-liners or even programs.
I use q() or qq().
These are quote-like operators for single quote and double quote.
There are, of course, many more:
https://perldoc.perl.org/perlop#Quote-and-Quote-like-Operators
gizmo
___
CentO
On 02/02/2022 11:34 PM, Jon LaBadie wrote:
> On Wed, Feb 02, 2022 at 08:54:38PM -0500, H wrote:
> I am writing a long bash script under CentOS 7 where perl is used for
> manipulating some external files. So far I am using perl one-liners to do
> so but ran into a problem when I need t
On 1/30/22 17:12, H wrote:
I am writing a long bash script under CentOS 7 where perl is used for
manipulating some external files. So far I am using perl one-liners to do so
but ran into a problem when I need to append text to an external file.
Here is a simplified example in the bash script w
On Wed, Feb 02, 2022 at 08:54:38PM -0500, H wrote:
I am writing a long bash script under CentOS 7 where perl is used for
manipulating some external files. So far I am using perl one-liners to do so
but ran into a problem when I need to append text to an external file.
Here is a simplified exam
On 02/02/2022 08:54 PM, H wrote:
> On 01/31/2022 09:59 PM, H wrote:
>> On 01/30/2022 11:00 PM, Orion Poplawski wrote:
>>> On 1/30/22 18:12, H wrote:
I am writing a long bash script under CentOS 7 where perl is used for
manipulating some external files. So far I am using perl one-liners t
On 01/31/2022 09:59 PM, H wrote:
> On 01/30/2022 11:00 PM, Orion Poplawski wrote:
>> On 1/30/22 18:12, H wrote:
>>> I am writing a long bash script under CentOS 7 where perl is used for
>>> manipulating some external files. So far I am using perl one-liners to do
>>> so but ran into a problem whe
On 01/30/2022 11:00 PM, Orion Poplawski wrote:
> On 1/30/22 18:12, H wrote:
>> I am writing a long bash script under CentOS 7 where perl is used for
>> manipulating some external files. So far I am using perl one-liners to do so
>> but ran into a problem when I need to append text to an external
On 1/30/22 18:12, H wrote:
I am writing a long bash script under CentOS 7 where perl is used for
manipulating some external files. So far I am using perl one-liners to do so
but ran into a problem when I need to append text to an external file.
Here is a simplified example in the bash script w
On January 30, 2022 8:25:46 PM EST, mailist wrote:
>On 2022-01-30 20:12, H wrote:
>> I am writing a long bash script under CentOS 7 where perl is used for
>> manipulating some external files. So far I am using perl one-liners
>to
>> do so but ran into a problem when I need to append text to an
>ex
On 2022-01-30 20:12, H wrote:
I am writing a long bash script under CentOS 7 where perl is used for
manipulating some external files. So far I am using perl one-liners to
do so but ran into a problem when I need to append text to an external
file.
Rewrite the whole thing in Perl. Over the year
I am writing a long bash script under CentOS 7 where perl is used for
manipulating some external files. So far I am using perl one-liners to do so
but ran into a problem when I need to append text to an external file.
Here is a simplified example in the bash script where txt is a bash variable
11 matches
Mail list logo