while(motivation <= 0)

Back to the blog...
looping through a csv 4 ways
When working with large files, command line tools tend to be king. They are built for speed an d can handle large files with ease. Most GUI's do not do well with text files larger than 200MB. This is where command line tools really shine.

The data

artistverseword
eminim1you
eminim1got
eminim1to
eminim1loose
eminim1yourself

PowerShell

Get-Content bigfile.csv | ForEach-Object {
$words = $_ -split ','
Write-Output $words[2]
}

powershell loop
bat loop
python loop
bash loop