Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #59812
| Message-Id | <83gl7g-tg1.ln1@aretha.foo> |
|---|---|
| From | Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> |
| Subject | Re: type of Bash variables |
| Newsgroups | alt.os.linux |
| Date | 2019-10-17 17:59 +1100 |
| References | (2 earlier) <qnt393$j7d$1@dont-email.me> <slrnqq44vv.vir.BitTwister@wb.home.test> <qnt68d$5da$1@dont-email.me> <qnvde6$ntc$4@dont-email.me> <op.z9ltu1hva3w0dxdave@hodgins.homeip.net> |
Groovy hepcat David W. Hodgins was jivin' in alt.os.linux on Mon, 14 Oct
2019 02:12 am. It's a cool scene! Dig it.
> On Sun, 13 Oct 2019 10:47:34 -0400, William Unruh <unruh@invalid.ca>
> wrote:
>
>> ALL bash variables are strings.
>
> False, as previously explained. Otherwise explain the following ...
> [dave@x3 ~]$ cat bin/declarei
> #!/bin/bash
> declare -i number=42
> echo $number
> number='somestring'
> echo $number
> [dave@x3 ~]$ bin/declarei
> 42
> 0
Indeed, there are also indexed arrays, associative arrays and namerefs
(references to other variables).
--
----- Dig the NEW and IMPROVED news sig!! -----
-------------- Shaggy was here! ---------------
Ain't I'm a dawg!!
Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 18:30 +0200
Re: type of Bash variables Chris Elvidge <chris@mshome.net> - 2019-10-12 17:45 +0100
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 19:41 +0200
Re: type of Bash variables Bit Twister <BitTwister@mouse-potato.com> - 2019-10-12 12:57 -0500
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 20:32 +0200
Re: type of Bash variables William Unruh <unruh@invalid.ca> - 2019-10-13 14:47 +0000
Re: type of Bash variables "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-10-13 11:12 -0400
Re: type of Bash variables Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2019-10-17 17:59 +1100
Re: type of Bash variables "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-10-12 14:05 -0400
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 20:36 +0200
Re: type of Bash variables "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-10-12 16:02 -0400
Re: type of Bash variables Paul <nospam@needed.invalid> - 2019-10-12 14:26 -0400
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 20:43 +0200
Re: type of Bash variables Paul <nospam@needed.invalid> - 2019-10-12 15:18 -0400
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 22:44 +0200
Re: type of Bash variables Ken Hart <kwhart1@frontier.com> - 2019-10-12 18:11 -0400
Re: type of Bash variables "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 09:16 +0200
Re: type of Bash variables Jasen Betts <jasen@xnet.co.nz> - 2019-10-12 20:20 +0000
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-13 10:41 +0200
Re: type of Bash variables "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 08:18 +0200
Re: type of Bash variables Chris Elvidge <chris@mshome.net> - 2019-10-13 11:23 +0100
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-13 13:40 +0200
Re: type of Bash variables William Unruh <unruh@invalid.ca> - 2019-10-13 14:43 +0000
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 19:44 +0200
Re: type of Bash variables Bit Twister <BitTwister@mouse-potato.com> - 2019-10-12 12:06 -0500
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 19:48 +0200
Re: type of Bash variables Richard Kettlewell <invalid@invalid.invalid> - 2019-10-13 08:58 +0100
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-13 10:38 +0200
Re: type of Bash variables William Unruh <unruh@invalid.ca> - 2019-10-13 14:36 +0000
Re: type of Bash variables Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-13 20:58 +0200
Re: type of Bash variables gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-13 19:04 +0000
Re: type of Bash variables William Unruh <unruh@invalid.ca> - 2019-10-13 19:28 +0000
csiph-web