Re: [GTALUG] Hardcore sed foo

2019-11-04 Thread William Park via talk
0 or 1 match is ?Eg.  echo /aaa/.bbb//ccc/123 | sed 's,\(/\.\?[^/]\)[^/]*,\1,g'--William Sent from Yahoo Mail on Android On Mon, Nov 4, 2019 at 8:24 PM, Giles Orr via talk wrote: --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/lis

[GTALUG] TekSavvy or Rogers blocking apt user agent

2019-11-04 Thread Jamon Camisso via talk
On 04/11/2019 21:24, D. Hugh Redelmeier via talk wrote: > Is this happening to you? I will assume so. > > - my main internet connection is directly through Rogers. > > - I use Ubuntu infrequently. > > - when I do update it, I have had no issue. Most recently: a couple > of days ago. > > The

Re: [GTALUG] TekSavvy or Rogers blocking apt user agent

2019-11-04 Thread D. Hugh Redelmeier via talk
| From: Jamon Camisso via talk | Well this is a new low: | | https://askubuntu.com/questions/1185612/apt-get-stuck-on-waiting-for-headers/1185713 | | Mind-boggling that it is/was even an issue at an ISP & HTTP level. | | Either they have a giant whitelist of browser agents to maintain, or a |

Re: [GTALUG] Hardcore sed foo

2019-11-04 Thread Giles Orr via talk
On Mon, 4 Nov 2019 at 18:36, William Witteman wrote: > No sed knowledge here, but what if you turn it around, and grab two > characters and conditionally truncate, rather than the other way around? > > My only useful programming advice is when you get stuck, turn your problem > around. > > On Mon

Re: [GTALUG] Hardcore sed foo

2019-11-04 Thread William Witteman via talk
No sed knowledge here, but what if you turn it around, and grab two characters and conditionally truncate, rather than the other way around? My only useful programming advice is when you get stuck, turn your problem around. On Mon., Nov. 4, 2019, 18:31 Giles Orr via talk, wrote: > I've tinkered

[GTALUG] Hardcore sed foo

2019-11-04 Thread Giles Orr via talk
I've tinkered with Bash prompts for a lot of years. That's where this problem originates, but it can be considered just as a thought experiment if you prefer. We have the directory we're in, for example: /Users/gorr/.bashprompt/really/deep/directory/structure/even/deeper (I keep my prompts

Re: [GTALUG] TekSavvy or Rogers blocking apt user agent

2019-11-04 Thread James Knott via talk
What does Wireshark show?  That article shows "Connection reset by peer". On 2019-11-04 04:13 PM, Jamon Camisso via talk wrote: Well this is a new low: https://askubuntu.com/questions/1185612/apt-get-stuck-on-waiting-for-headers/1185713 Mind-boggling that it is/was even an issue at an ISP & HT

[GTALUG] TekSavvy or Rogers blocking apt user agent

2019-11-04 Thread Jamon Camisso via talk
Well this is a new low: https://askubuntu.com/questions/1185612/apt-get-stuck-on-waiting-for-headers/1185713 Mind-boggling that it is/was even an issue at an ISP & HTTP level. Either they have a giant whitelist of browser agents to maintain, or a blacklist to update and added apt to it. In eith

Re: [GTALUG] Problem with /dev/ttyUSB* serial port

2019-11-04 Thread Russell Reiter via talk
On Thu, Oct 31, 2019, 1:07 PM Jim Ruxton via talk, wrote: > > > Is your user a member of the dialout group? You can't access serial ports > unless you are. > > Yes I am a member of dialout and I have no problem when my device uses > /dev/ttyUSB0 . > > > Also, 'baudrate=57142' looks a bit odd. 576