Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.physics > #609480
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mail |
|---|---|
| From | Jeff-Relf.Me <@.> |
| Newsgroups | comp.os.linux.advocacy, sci.physics |
| Subject | Command Line jockies use plenty of aliases, no ? ! |
| Date | Sat, 17 Dec 2016 21:59:36 -0800 (Seattle) |
| Organization | Glorb Internet Services, http://www.glorb.com |
| Lines | 30 |
| Message-ID | <Jeff-Relf.Me@Dec.17--9.59P.Seattle.2016> (permalink) |
| References | <f55d5858-3f4b-4644-871e-06d06439a2b5@googlegroups.com> <Jeff-Relf.Me@Dec.17--0.34P.Seattle.2016> <o357l8$a2f$1@dont-email.me> |
| NNTP-Posting-Host | /zlDkqjrFG1Uj/denlv3LA.634.posting.glorb.com |
| Content-Type | Text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@glorb.com |
| NNTP-Posting-Date | Sun, 18 Dec 2016 05:59:36 +0000 (UTC) |
| User-Agent | Jeff-Relf.Me/X.ZIP |
| X-Notice | Scanned by Mr. Bill |
| Xref | csiph.com comp.os.linux.advocacy:384684 sci.physics:609480 |
Cross-posted to 2 groups.
Show key headers only | View raw
You ( DFS ) replied ( to me ):
> > wchar _T[999], *P = _T ;
> > Loop(3) { int Y = J ;
> > Loop(4) P += Str( P, L"( %d, %d )%s", J, Y, J == LLL - 1 ? L"\n" : L" " ); }
> >
> > printf( _T );
> >
> > Given:
> >
> > #define Loop( N ) int LLL = ( N ), J = -1 ; while ( ++J < LLL )
> > #define Str swprintf // Not: StrF fwprintf
> > typedef wchar_t wchar ;
> >
> > Output:
> >
> > ( 0, 0 ) ( 1, 0 ) ( 2, 0 ) ( 3, 0 )
> > ( 0, 1 ) ( 1, 1 ) ( 2, 1 ) ( 3, 1 )
> > ( 0, 2 ) ( 1, 2 ) ( 2, 2 ) ( 3, 2 )
>
> Strange code, as always.
> You'll have to come back from the grave to maintain it.
> My loops are more traditional: [[...]]
Command Line jockies use plenty of aliases, no ? !
> alias ll='ls -l'
I'm the same, but mine are called macros (#define).
I use C code where/when most others would use a set of command lines.
Back to sci.physics | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Loop(100) Jeff-Relf.Me <@.> - 2016-12-17 12:34 -0800
Command Line jockies use plenty of aliases, no ? ! Jeff-Relf.Me <@.> - 2016-12-17 21:59 -0800
Re: Loop(100) moroney@world.std.spaamtrap.com (Michael Moroney) - 2016-12-19 17:20 +0000
I don't worry about "optimizations", don't need to. Jeff-Relf.Me <@.> - 2016-12-19 10:56 -0800
Re: I don't worry about "optimizations", don't need to. moroney@world.std.spaamtrap.com (Michael Moroney) - 2016-12-20 12:30 +0000
Other people's code is hard to learn/modify. Jeff-Relf.Me <@.> - 2016-12-20 06:06 -0800
Re: Other people's code is hard to learn/modify. Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-12-20 15:31 +0100
Re: Other people's code is hard to learn/modify. chrisv <chrisv@nospam.invalid> - 2016-12-20 09:04 -0600
Re: Other people's code is hard to learn/modify. Double-A <double-a3@hush.com> - 2016-12-20 13:33 -0800
Re: Other people's code is hard to learn/modify. moroney@world.std.spaamtrap.com (Michael Moroney) - 2016-12-20 15:06 +0000
What The Fuck is wrong with your peers ? ! Jeff-Relf.Me <@.> - 2016-12-20 09:59 -0800
Re: What The Fuck is wrong with your peers ? ! moroney@world.std.spaamtrap.com (Michael Moroney) - 2016-12-20 23:22 +0000
I won, bigly. Jeff-Relf.Me <@.> - 2016-12-20 16:15 -0800
AutoFormatting hides the fingerprints. Jeff-Relf.Me <@.> - 2016-12-21 02:55 -0800
Re: AutoFormatting hides the fingerprints. Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-12-21 14:33 +0100
Re: AutoFormatting hides the fingerprints. moroney@world.std.spaamtrap.com (Michael Moroney) - 2016-12-22 03:21 +0000
My code is dense, and hard to read, like the Washington Post. Jeff-Relf.Me <@.> - 2016-12-22 02:36 -0800
Re: I won, bigly. Silver Slimer <.m@nsn.s> - 2016-12-21 09:09 -0500
Re: I won, bigly. benj <benj@nobody.net> - 2016-12-21 17:37 -0500
Re: What The Fuck is wrong with your peers ? ! chrisv <chrisv@nospam.invalid> - 2016-12-21 07:14 -0600
csiph-web