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 17:53:11 +0000
- From: Darren Cook <darren@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> <20150114120516.6aaa11ad.jep200404@columbus.rr.com> <87mw5lxnyu.fsf@uwakimon.sk.tsukuba.ac.jp>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
> > Please show a minimal example that demonstrates the problem. > > I don't have an example offhand, but trying to scp a file and then > open it in a single shell function took a long time to get "right", > and I think there may still be some bugs in it. I remember having a similar problem, trying to write a bash script to execute bash commands on a remote server, over ssh. There were bits I just couldn't get right, and at the point I gave up, I had split the script into sections. At the end of each it would tell the user to ssh in and run some commands, then come back and run the next script :-( The breakthrough for me came when I started using https://github.com/phpseclib/phpseclib and now I can write all my SCP and SSH commands in a PHP script and not have to worry about escaping anything. This was great for me as I was already using the PHP APIs for Amazon and Rackspace. Darren -- Darren Cook, Software Researcher/Developer My new book: Data Push Apps with HTML5 SSE Published by O'Reilly: (ask me for a discount code!) http://shop.oreilly.com/product/0636920030928.do Also on Amazon and at all good booksellers!
- 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
- Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- From: jep200404
- Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- Next by Date: [tlug] Thinkpad Trackpointer Kubuntu
- Previous by thread: Re: [tlug] Shell Basics: Dealing With Filenames And Arguments With Spaces (was Re: Representing a Space in a Path)
- Next by thread: Re: [tlug] Representing a Space in a Path
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links