Linux Blog

Mandatory New Years Post

Filed under: The Linux Blog News — TheLinuxBlog.com at 7:37 pm on Monday, January 2, 2012

Happy new year! I guess it’s time for a yearly update, I feel like everyone else has done it and now its my turn. Hit the jump for some more statistics that are probably only interesting to yours truly.

Top 10 Posts
Interestingly enough none of these were written this year. Perhaps I should write a query to extract the most popular ones of this year, I’m not sure they’re getting the same search love as my older stuff.

Using cut, Shellscript string manipulation 8.54%
Handy Linux Wallpaper 7.33%
Shell script to get user input 7.18%
The Linux Blog 6.38%
Rsync to SMB Share 4.26%
Apache director index forbidden by options directive 3.97%
Working with CSV files in bash 3.64%
Rotating videos in Linux 2.46%
Recursive md5 sum script 2.28%
iphone ssh client 2.04%

(Read on …)

Working with CSV files in Bash

Filed under: Shell Script Sundays — TheLinuxBlog.com at 1:25 pm on Sunday, October 19, 2008

CSV files are very common. Using them with Bash to aid in scripting can be very useful. Here are a some methods of using bash to work with CSV files. These are what I sometimes use when dealing with CSV files in bash, they may work for your CSV’s they may not. I accept no responsibility of the accuracy of these, I’m sure there are better ways of accomplishing the same tasks. If anybody finds other ways or knows better please comment and let me know. Don’t run these on production data, its always a good idea to make backups and test them before using in a production environment. Who knows how your precious data could become mangled due to a wrong number of quotes, terminations or bad regex. Jump for the post (Read on …)