Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

/prog/ Challenge: Micro$oft Excel 2018

Name: Anonymous 2018-02-14 9:00

Write a command line tool that takes in a CSV file, overwrites all the data of a given column by a given value, and outputs the results into a new CSV file.

More specifically, this command line tool should accept the following arguments:

  1. the filename of a CSV file,
  2. the name of the column to overwrite in that file,
  3. the string that will be used as a replacement for that column,
  4. the filename where the output will be written.

Name: Anonymous 2018-02-14 9:26

can we assume that CSV uses the actual comma as a separator?

Name: Anonymous 2018-02-14 10:12

>>1
Do your own homework. (Yes, homework, because most businesses don't upgrade to latest Office on a whim.)

Name: Anonymous 2018-02-14 10:14

Also assume that entries themselves don't contain commae. Edited on 14/02/2018 10:15.

Name: Anonymous 2018-02-14 13:28

To clarify, the CSV contains a header line naming the columns? Since you said ``name'' rather than number.

Name: Anonymous 2018-02-14 15:03

This isn't a /prog/ challenge. It's your work. Figure it out you mental midget.

Name: Anonymous 2018-02-14 15:42

Name: Anonymous 2018-02-14 16:19

>>5
Yes.

Name: Anonymous 2018-02-14 16:26

>>6
If your work includes rewriting a single feature of
GNU A.W.K.
, you are miserable.

Name: Anonymous 2018-02-14 17:09

>>7
The rooster will be avenged.

Name: Anonymous 2018-02-14 18:44

Name: Anonymous 2018-02-14 18:45

dubs get

Name: Anonymous 2018-02-14 19:17

STOLEN

Name: test 2018-02-15 2:58

test

Name: Anonymous 2018-02-15 9:04

do my're are challenge you anii

Name: Anonymous 2018-02-15 9:09

>>15
I will do your're are challenge later because I'm shitposting from work and need to keep appearances

Name: Anonymous 2018-02-20 11:58

Ez pc: perl, use any popular CSV module. Or AWK, (that might be a bit harder since you have to handle quoted strings yourself)

Name: Anonymous 2018-02-20 12:46

>>16
your're computer scientist job?

Name: Anonymous 2018-02-20 13:04

>>18
No, my'm code monkey job

Name: Anonymous 2018-02-20 13:11

>>19
actually, my'm am job is not code monkey but security, which allows me to laugh at code monkeys and the code their're are monkeying

Name: Anonymous 2018-02-20 15:09

>>20
A trained code monkey is still a code monkey

Name: Anonymous 2018-02-20 18:54

!

Name: Anonymous 2018-02-21 7:58

>>21
but my job is not monkeying the code, it is breaking the monkeyed code to display goatse on remote servers

Don't change these.
Name: Email:
Entire Thread Thread List