Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- Date: Wed, 14 Jan 2015 12:05:16 -0500
- From: jep200404@example.com
- Subject: Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- References: <54B5E39B.60600@gmail.com> <54B5E895.4020703@sonic.net> <87sifdxxvl.fsf@uwakimon.sk.tsukuba.ac.jp> <CAJA1Y2YJsB8d3TgBUrn1yjvs9dN_sfiUotS4bc39HXJt_8=wWA@mail.gmail.com> <20150114102438.1a165919.jep200404@columbus.rr.com> <CAJA1Y2b_NT6zZsAmViXmMLRk7A8EJ6fhoCoaap8+i-mGYbwNog@mail.gmail.com>
On Wed, 14 Jan 2015 17:02:36 +0100, Bruno Raoult <braoult@example.com> wrote: > On Wed, Jan 14, 2015 at 4:24 PM, <jep200404@example.com> wrote: > > By the way, study $* versus "$@". > Even these are difficult... Trying to pass a variable to a subshell I mean. Please show a minimal example that demonstrates the problem. [test@tlug br]$ cat a\ subshell #!/bin/sh for arg in "$@"; do echo "'$arg'" done [test@tlug br]$ bash "a subshell" 'yet another subshell' "hello world" foo bar 'yet another subshell' 'hello world' 'foo' 'bar' [test@tlug br]$
- Follow-Ups:
- References:
- [tlug] Representing a Space in a Path
- From: CL
- Re: [tlug] Representing a Space in a Path
- From: steve
- Re: [tlug] Representing a Space in a Path
- From: Stephen J. Turnbull
- Re: [tlug] Representing a Space in a Path
- From: Bruno Raoult
- [tlug] Shell Basics: Dealing With Filenames With Spaces (was Re: Representing a Space in a Path)
- From: jep200404
- Re: [tlug] Shell Basics: Dealing With Filenames With Spaces (was Re: Representing a Space in a Path)
- From: Bruno Raoult
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Shell Basics: Dealing With Filenames With Spaces (was Re: Representing a Space in a Path)
- Next by Date: Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- Previous by thread: Re: [tlug] Shell Basics: Dealing With Filenames With Spaces (was Re: Representing a Space in a Path)
- Next by thread: Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links