BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] through the looking glass
- Subject: [Discuss] through the looking glass
- From: abreauj at gmail.com (John Abreau)
- Date: Sun, 3 Jun 2018 17:55:17 -0400
- In-reply-to: <a5e8dbd4-41da-6ab3-022c-a0c46b000088@gmail.com>
- References: <20180602164200.GA11279@arcturas.localdomain> <a5e8dbd4-41da-6ab3-022c-a0c46b000088@gmail.com>
In the test(1) command, if I recall correctly, the greater-than operator is "-gt", not ">", and the less-than operator is "-lt", not "<". At least, that's how I first learned it back in 1983. On Sat, Jun 2, 2018 at 12:47 PM, Richard Pieri <richard.pieri at gmail.com> wrote: > On 6/2/2018 12:42 PM, dan moylan wrote: >> not portable? where would that be? > > Not portable in that "[[" is specific to Bash. You may not find it in > other Bourne-derived shells. > > -- > Rich Pieri > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://lists.blu.org/mailman/listinfo/discuss -- John Abreau / Executive Director, Boston Linux & Unix Email: abreauj at gmail.com / WWW http://www.abreau.net / PGP-Key-ID 0x920063C6 PGP-Key-Fingerprint A5AD 6BE1 FEFE 8E4F 5C23 C2D0 E885 E17C 9200 63C6
- Follow-Ups:
- [Discuss] through the looking glass
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] through the looking glass
- References:
- [Discuss] through the looking glass
- From: jdm at moylan.us (dan moylan)
- [Discuss] through the looking glass
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] through the looking glass
- Prev by Date: [Discuss] Changes to OpenDNS?
- Next by Date: [Discuss] through the looking glass
- Previous by thread: [Discuss] through the looking glass
- Next by thread: [Discuss] through the looking glass
- Index(es):