On 26 April 2018 at 17:48, Benjamin Purcell wrote:
> Since no one had any idea what you had in mind, here is stab in the
> dark. Did you want
>
> % for(i in `{echo $w}) {echo $i; echo XXX}
Yes. That was it.
But basically this was already given in Teodoro Santoni's
e-mail.
I lot of the messages on this list end up being marked as spam. I
believe there was a previous discussion about this.
On Thu, Apr 26, 2018 at 7:36 PM, Rudolf Sykora wrote:
> On 26 April 2018 at 17:48, Benjamin Purcell wrote:
>> Since no one had
On 26 April 2018 at 17:02, Teodoro Santoni wrote:
> ; w='A
> B
> C'
> ; we=`{echo $w}
> ; for(i in $we) { echo 'arg '$i; }
> arg A
> arg B
> arg C
> ; for(i in $w) { echo 'arg'$i; }
> argA
> B
> C
> ; exit
>
> When enclosed in single quotes, the variable is, regardless of
On 26 April 2018 at 17:20, dexen deVries wrote:
> use a list. lists are created either by the parentheses:
>
> % w = ( A B C )
> % # note no space before the backslash
> % wMultiline = (\
> X\
> Y\
> Z\
> )
As I wrote in another answer, the content of w is as if
Since no one had any idea what you had in mind, here is stab in the
dark. Did you want
% for(i in `{echo $w}) {echo $i; echo XXX}
?
On Thu, Apr 26, 2018 at 11:29 AM, Alexander Kapshuk
wrote:
> On Thu, Apr 26, 2018 at 6:08 PM, Rudolf Sykora
On Thu, 26 Apr 2018 at 21:41, Costin Chirvasuta wrote:
> I lot of the messages on this list end up being marked as spam. I
> believe there was a previous discussion about this.
Well, I did check my spam folder. (Actually all folders...)
It hasn't been delivered at all...
On 26 April 2018 at 16:54, Lucio De Re wrote:
> w=(A B C)
>
> ?
1) this is not an answer
2) the use of it all was that I wanted to send to print
certain files, the list of which I got from ls followed
by manual deletion (in 9term) of some... Newline separation
is thus
use a list. lists are created either by the parentheses:
% w = ( A B C )
% # note no space before the backslash
% wMultiline = (\
X\
Y\
Z\
)
% echo $w $wMultiline
A B C X Y Z
% for(i in $w) {echo $i; echo XXX}
A
XXX
B
XXX
C
XXX
or by globbing:
% text_files = *.txt
or by expanding a whitespaced
On Thu, Apr 26, 2018 at 6:08 PM, Rudolf Sykora wrote:
> On 26 April 2018 at 16:54, Lucio De Re wrote:
>> w=(A B C)
>>
>> ?
>
> 1) this is not an answer
> 2) the use of it all was that I wanted to send to print
> certain files, the list of which I
Hello
I, using OpenBSD's p9p, see this
% w='A
B
C'
% echo $w
A
B
C
% for(i in $w) {echo $i; echo XXX}
A
B
C
XXX
ie, w in for is taken as just one argument instead of
3. What can I do with it?
I haven't modified ifs (it should be \n space and tab).
(How can I check, say see the
Hi,
2018-04-26 16:45 GMT+02:00, Rudolf Sykora :
> Hello
>
> I, using OpenBSD's p9p, see this
>
> % w='A
> B
> C'
> % echo $w
> A
> B
> C
> % for(i in $w) {echo $i; echo XXX}
> A
> B
> C
> XXX
>
> ie, w in for is taken as just one argument instead of
> 3. What can
On Thu, Apr 26, 2018 at 5:45 PM, Rudolf Sykora wrote:
> Hello
>
> I, using OpenBSD's p9p, see this
>
> % w='A
> B
> C'
> % echo $w
> A
> B
> C
> % for(i in $w) {echo $i; echo XXX}
> A
> B
> C
> XXX
>
> ie, w in for is taken as just one argument instead of
> 3.
w=(A B C)
?
On 4/26/18, Rudolf Sykora wrote:
> Hello
>
> I, using OpenBSD's p9p, see this
>
> % w='A
> B
> C'
> % echo $w
> A
> B
> C
> % for(i in $w) {echo $i; echo XXX}
> A
> B
> C
> XXX
>
> ie, w in for is taken as just one argument instead of
> 3. What can
13 matches
Mail list logo