[-] Infernal_pizza@lemmy.world 33 points 1 month ago

Did kids stop liking bionicle or did Lego just discontinue it?

[-] Infernal_pizza@lemmy.world 29 points 2 months ago

So this means it doesn’t take up much disk space right?

Xbox's store page for the game reveals Call of Duty: Black Ops 6's install size is an eye-watering 309.85 GB.

Wtf?

[-] Infernal_pizza@lemmy.world 33 points 6 months ago

I fail to see how that question is relevant since this game is a AAAA game /s

[-] Infernal_pizza@lemmy.world 37 points 7 months ago

I remember seeing this when that date was still in the future, those were the good old days

[-] Infernal_pizza@lemmy.world 30 points 7 months ago

I literally can’t think of a worse use for that money. Even $1.2 million worth of literal shit could be used to fertilise plants or something

[-] Infernal_pizza@lemmy.world 37 points 7 months ago

Who is still buying NFTs?

[-] Infernal_pizza@lemmy.world 35 points 8 months ago

This is probably one of the purchases I regret the most. First they updated it and put shitty banner ads in the launcher so I had to install a custom one to get round that. Then they disabled game stream which I’ll admit I only used a few times, but it was still one of the reasons I went with the shield over another device. And now this…

I think when I replace it I’ll just get a mini PC instead

[-] Infernal_pizza@lemmy.world 39 points 9 months ago

I love how not killing civilians is now considered controversial

[-] Infernal_pizza@lemmy.world 34 points 10 months ago

I thought this was always how the free version was? Which bit of that is new? I remember only being able to shuffle play until I got premium

[-] Infernal_pizza@lemmy.world 46 points 10 months ago

Literally any file format except PDF for documents that need to be edited. Fuck Adobe and fuck Acrobat

[-] Infernal_pizza@lemmy.world 45 points 10 months ago

Damn liberals, first we need to plant more trees now suddenly plants are bad for the environment? When will you snowflakes make up your mind /s

[-] Infernal_pizza@lemmy.world 40 points 11 months ago

You need some form of backup though or you can lose access to your accounts if you lose/break your phone. A lot of sites give one time use backup codes but not all, and you still need somewhere secure to store those.

2

I'm a complete noob when it comes to bash, I extracted some timestamps from an xml file using xmlstarlet however its formatted as a space separated string rather than an array. I need them as an array so that I can use them in a for loop. As far as I can tell you can't do that with xmlstarlet so I need to just convert the string.

I found this thread which says I can use IFS=' ' read -a arr <<< "$line" which works for a basic string but not the one I'm trying to use it with:

2023-06-19T00:00:00+01:00 2023-06-18T00:00:00+01:00 2023-06-17T00:00:00+01:00 2023-06-16T00:00:00+01:00 2023-06-15T00:00:00+01:00 2023-06-14T00:00:00+01:00 2023-06-13T00:00:00+01:00 2023-06-10T00:00:00+01:00 2023-06-03T00:00:00+01:00 2023-05-31T00:00:00+01:00 2023-05-27T00:00:00+01:00

If I use the command on this string it only puts the first part in the array so I get 2023-06-19T00:00:00+01:00

I also tried arr=( $line ) which is also suggested in the thread but that does the same thing. Is there another way I can try to convert this, or a way to export from xmlstarlet straight to an array?

26
MicRulesoft (lemmy.world)
63
view more: ‹ prev next ›

Infernal_pizza

joined 1 year ago