What does this do in bash: [@]?

Peter Flynn peter at silmaril.ie
Sat Jul 30 14:46:30 UTC 2022


On 30 July 2022 13:22:43 Bo Berglund <bo.berglund at gmail.com> wrote:
[...]
> URL=('https://tokens.xxxxx.com/' -d $'{\n "pid": "2007524",\n "application":
> "Sports",\n "platform": "desktop",\n "cdn": "akamai",\n "url":
> "https://xxxxxxx.akamaized.net/hls/live/723429/Sportsa418c506/clear/master.m3u8"\n}')

OK, that makes sense. I was looking at it the other way round, where the 
data is a fully-formed URI with fields and values, and the output is a 
fully-decomposed array. Fairly straightforward in Python, Perl, awk, etc, 
but not in an unassisted shell.

P

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220730/68feab36/attachment.html>


More information about the ubuntu-users mailing list