Just speculating, but try replacing the "||" with the "|" operator which should create an ANY Junction, if I'm not mistaken, which may then do what you want. -- Darren Duncan

On 2017-03-24 5:58 PM, ToddAndMargo wrote:
Hi All,,

if $Terminal ~~ /xterm/ || /linux/ {}
does not work

But this does
if $Terminal ~~ /xterm/ || $Terminal ~~ /linux/ {}

Can the if statement be shortened such that I do not
have to repeat $Terminal?

Many thanks,

Reply via email to