Astrolitterbox

Tuesday, September 17, 2013

sorting .csv files

cat input.csv | sort -ug -t',' > output.csv worked better than sort -n option, which I had been using.
Posted by astrolitterbox at 1:57 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: flat files horror, unix

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2014 (3)
    • ►  March (1)
    • ►  January (2)
  • ▼  2013 (117)
    • ►  December (6)
    • ►  November (23)
    • ►  October (3)
    • ▼  September (3)
      • lit: Precise TFRs without galaxy inclinations
      • SQLITE: nested query
      • sorting .csv files
    • ►  August (2)
    • ►  June (12)
    • ►  May (14)
    • ►  April (12)
    • ►  March (3)
    • ►  February (14)
    • ►  January (25)
  • ►  2012 (96)
    • ►  December (8)
    • ►  November (12)
    • ►  October (19)
    • ►  September (5)
    • ►  August (25)
    • ►  May (8)
    • ►  April (13)
    • ►  March (5)
    • ►  February (1)

About Me

astrolitterbox
I am an astrophysics PhD student. My memory is short, hence this blog.
View my complete profile
Awesome Inc. theme. Powered by Blogger.