Free Republic
Browse · Search
General/Chat
Topics · Post Article


1 posted on 02/28/2019 5:27:17 AM PST by ShadowAce
[ Post Reply | Private Reply | View Replies ]


To: rdb3; Calvinist_Dark_Lord; JosephW; Only1choice____Freedom; Ernest_at_the_Beach; martin_fierro; ...

2 posted on 02/28/2019 5:27:45 AM PST by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

With all the array talk, I was expecting to see ${array[@]} and ${#array[@]}. Sadness :P


3 posted on 02/28/2019 5:35:08 AM PST by TheZMan (I am a secessionist.)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Heh?


4 posted on 02/28/2019 5:40:58 AM PST by Vaquero (Don't pick a fight with an old guy. If he is too old to fight, he'll just kill you .)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Another thread about Jeb? and who is Curly Braces?..................


7 posted on 02/28/2019 6:02:12 AM PST by Red Badger (We are headed for a Civil War. It won't be nice like the last one....................)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce
I use braces often. One thing I'd note is that you can zero-pad when using numbers. i.e., {01..10} will expand as 01, 02, 03 ...

This is actually a fairly timely article for me. I have a script that runs every day that gathers certain statistical information in log files. This script outputs the data into a date-stamped filename like stats-20190228.txt, so at the end of the month I end up with one file of stats per day. Then I run a script with a "for x in {01..28}; do grep blah stats-201902$x.txt" construct to dump key elements into a file formatted so I can import it into a spreadsheet for monthly totals. Boss likes the pretty charts I generate. I discovered a long time ago that the occasional bit of pretty charts will keep most bosses happy for longer than you'd believe.

8 posted on 02/28/2019 6:53:15 AM PST by zeugma (Power without accountability is fertilizer for tyranny.)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Many thanks!

Bookmarking this one!


9 posted on 03/01/2019 9:19:50 AM PST by WildHighlander57 ((WildHighlander57 returning after lurking since 2000)
[ Post Reply | Private Reply | To 1 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson