[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] condition: OR of two string comparisons
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] condition: OR of two string comparisons |
Date: |
Thu, 06 Nov 2014 16:35:23 +0000 |
Hi Holger,
> .\" I found this for strings
>
> .ds c "
> .ds d "
> .if '\*c'foo' .ds d "bar
> .ie '\*d'bar' .tm *9: true
> .el .tm *9: false
If you want to preserve d's value for later use then you're back to
using a temporary variable to track success so far.
Cheers, Ralph.
- [Groff] condition: OR of two string comparisons, hohe72, 2014/11/05
- Re: [Groff] condition: OR of two string comparisons,
Ralph Corderoy <=
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, Werner LEMBERG, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, Dale Snell, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/12
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13