BASH Shell: For Loop File Names With Spaces – nixCraft

I’ve been wondering how to do this. I didn’t realise I could do this in so many different ways. Simplest way, I think:

$ ls
2013.doc externalIP.txt Introduction to Compositing in Blender.txz
externalIP.sh Ideas.odt Piano to Learn
$ for a in
ls *; do echo $a; done
2013.doc
externalIP.sh
externalIP.txt
Ideas.odt
Introduction
to
Compositing
in
Blender.txz
Piano
to
Learn
$ SAVEIFS=$IFS
$ IFS=$(echo -en “\n\b”)
$ for a in ls *; do echo $a; done
2013.doc
externalIP.sh
externalIP.txt
Ideas.odt
Introduction to Compositing in Blender.txz
Piano to Learn
$ IFS=$SAVEIFS
$ for a in ls *; do echo $a; done
2013.doc
externalIP.sh
externalIP.txt
Ideas.odt
Introduction
to
Compositing
in
Blender.txz
Piano
to
Learn
$

BASH Shell: For Loop File Names With Spaces – nixCraft.

Strange….

Strange, today’s run is 4.8K,

Screenshot_2014-07-15-14-23-12

But I’m given a 9.6K run.

Screenshot_2014-07-15-14-23-20

 

Now, Nike suggest I drop out of the plan, uninstall the app, reboot, reinstall the app, then put a new one in, so I’ve done that, but that’s now reset my training plan, and Nike+ training plans always start on a Monday, so that means, no plan run today. :/

Bad Tech: Biggest tech lies we all fall for | T3

Tech lies we all fall for

  1. Facebook statuses saying “I’m Poorly”
  2. Sat-Nav Directions (I can relate to this)
  3. “Full Mailbox” warning
  4. Washing Machine time
  5. Microwave cooking time
  6. “Best Venues” apps
  7. Any recommendation
  8. Heart rate/Calorie monitors
  9. A rich friend saying he’s broke
  10. Running Apps

Interestingly, the last one caught my attention. Here’s the main description:

Recently two members of Team T3 did the same half marathon using the same training plan with the same app. They trained twice together and noticed one of them was recording about a mile less than the other each time. There was no way to test who was being short-changed in their preparation until race day, when one of them hadn’t done enough training and nearly died in the last couple of miles. Lesson: don’t trust apps, trust watches.

“Don’t trust apps, trust watches”? I kind of expected that. After all, a phone is not built to be used as a GPS receiver (even though it is a function), whereas a GPS watch is designed for that function. I have run with the Nike+ app and my SportWatch on at the same time, and have noticed a difference of around 0.2 to 0.25 km between the two. Most of the time the app clocks up more mileage than the watch, but I trust the watch more because it is a dedicated GPS receiver.

Bad Tech: Biggest tech lies we all fall for | T3.

The official full length TV launch trailer – Doctor Who Series 8 2014 – BBC One – YouTube

Added to calendar. I will probably do the same thing I did with Matt Smith. Watch the first couple of episodes to decide whether or not I like Peter Capaldi’s Doctor, then decide whether or not to stay watching thereafter.

via The official full length TV launch trailer – Doctor Who Series 8 2014 – BBC One – YouTube.

%d bloggers like this: