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] "How to"
- Date: Fri, 16 May 2014 13:40:01 +0200
- From: Bruno Raoult <braoult@example.com>
- Subject: Re: [tlug] "How to"
- References: <CAJA1Y2bTWLWhb0tcuZyeJQDXtAXsGRdyUw_T_Ft7sZ_W6nXhLQ@mail.gmail.com> <537162A7.5090009@extellisys.com> <877g5qfidc.fsf@uwakimon.sk.tsukuba.ac.jp>
On Tue, May 13, 2014 at 5:49 AM, Stephen J. Turnbull <stephen@example.com> wrote: > Ctrl-V <RET> is a useful trick in bash, at least (bash treats it like a > semicolon AFAICT). Same as here??? $ echo foo^Mecho bar echo bar $ echo foo; echo bar foo bar > Splitting lines with \ <RET> is also occasionally > useful (but I forget how it interacts with things like strings). Easy: It just escapes nest character special meaning: $ echo foo\ > bar foobar > Another trick I use is to define a function. Unfortunately bash > doesn't recognize open brace as a line continuation syntax, but that's > a minor thing. Not sure to understand again: $ myfunc() { > echo $1 > } $ myfunc abc abc br. -- 2 + 2 = 5, for very large values of 2.
- Follow-Ups:
- Re: [tlug] "How to"
- From: Stephen J. Turnbull
- References:
- [tlug] "How to"
- From: Bruno Raoult
- Re: [tlug] "How to"
- From: Travis Cardwell
- Re: [tlug] "How to"
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] [announcement] nomikai June 20 (Beer Garden)
- Next by Date: Re: [tlug] TLUG Social
- Previous by thread: Re: [tlug] "How to"
- Next by thread: Re: [tlug] "How to"
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links