Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Andreas Andreas jon , Ted

    @spandexbob @k4k this is a example line with four fields: name,"street,city",country,phone Problem is field 2: "street,city"

    Wednesday, 10-Aug-11 17:45:16 UTC from Gwibber
    • jon jon

      @theloser python is pretty good at handling csv files, do you have a target language?

      Wednesday, 10-Aug-11 17:48:46 UTC
    • jon jon

      @theloser something like this http://bit.ly/nyMkXt will simply parse a csv file in python

      Wednesday, 10-Aug-11 17:53:09 UTC
    • Andreas Andreas jon

      @spandexbob It's a korn shell script on AIX ;-)

      Wednesday, 10-Aug-11 17:54:27 UTC
    • Ted Ted

      @theloser A bit ugly but you could do sed -e 's:,:+++:g' -e 's:+++ :, :g' -e 's:+++:;:g' assuming +++ does not naturally appear ..

      Wednesday, 10-Aug-11 18:09:07 UTC
    • Ted Ted

      @theloser .. anywhere else

      Wednesday, 10-Aug-11 18:09:10 UTC
    • Ted Ted

      @theloser or better yet just sed -e 's:,:;:g' -e 's:; :, :g' should work if there are no semi-colons in the original file.

      Wednesday, 10-Aug-11 18:15:04 UTC
    • Andreas Andreas jon

      @spandexbob Urks. I need that "quotechar" option for the 'cut' command in korn shell ;-)

      Wednesday, 10-Aug-11 18:17:47 UTC

Site notice

Identi.ca is converting to pump.io some time this week

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by E14N. It runs the StatusNet microblogging software, version 1.1.0-release, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal