Tweeted twitter.com/#!/StackUnix/status/486289722537689088
4 edited body
source | link

Somewhere in the middle of my CVS CSV file is this line:

Products below this line are out of stockNumber, month, year, reference, store

Note:Number, month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New

Somewhere in the middle of my CVS file is this line:

Products below this line are out of stockNumber, month, year, reference, store

Note:Number, month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New

Somewhere in the middle of my CSV file is this line:

Products below this line are out of stockNumber, month, year, reference, store

Note:Number, month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New
3 copy edit
source | link

I have this file that is a CSV file.

Somewhere in the middle of the my CVS file there is this line that says:

Products below this line are out of stockNumber, month, year, reference, store

Products below this line are out of stockNumber, month, year, reference, store

Note:Number, month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New

I have this file that is a CSV file.

Somewhere in the middle of the file there is this line that says

Products below this line are out of stockNumber, month, year, reference, store

Note:Number, month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New

Somewhere in the middle of my CVS file is this line:

Products below this line are out of stockNumber, month, year, reference, store

Note:Number, month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New
2 added 374 characters in body
source | link

I have this file that is a CSV file.

Somewhere in the middle of the file there is this line that says

Products below this line are out of stockNumber, date month, year, reference, store

Note:Number,date month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New

I have this file that is a CSV file.

Somewhere in the middle of the file there is this line that says

Products below this line are out of stockNumber, date, year, reference, store

Note:Number,date, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

I have this file that is a CSV file.

Somewhere in the middle of the file there is this line that says

Products below this line are out of stockNumber, month, year, reference, store

Note:Number, month, year, reference and store are the CSV fields.

How do I delete this line from the file using a command line command?

Note the CSV is like this

Number, month, year, reference, store
1,1,2014,13322,main
2,2,2014,13322,main
3,3,2011,1322,main
4,4,2012,3322,main
5,4,2013,122,secondary
Products below this line are out of stockNumber, month, year, reference, store
12,411,2010,122,Albany
25,41,2009,122,Dallas
35,24,2008,122,New
1
source | link