Paxum for Linux Geeks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fris
    I have to go potty
    • Aug 2002
    • 55781

    #1

    Paxum for Linux Geeks

    If you want to parse your csv statements to see how much cash was sent in total from other people here is a one liner.

    Code:
    awk -F '^"|","|"$' '{sum += $7} END {printf("%.2f\n", sum)}' paxum.csv | sed 's/^/$/; s/$/ credit/; s/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;t'
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


    Totally Free Templates
Working...