Em Andamento

PHP remove duplicates from text file

Input text FILE: The file contains a number of ROWS Each ROW contains a number of text ELEMENTS separated by TABS Each ELEMENT can contain any number of characters including spaces, or may be empty I want a simple PHP script to take the contents of the text FILE. For any rows in which the first ELEMENT if identical with the first ELEMENT of other ROWS, the entire ROW should be treated as a DUPLICATE Remove duplicate rows (i.e. keep the first one and remove all others) Note, only the first ELEMENT has to be the same for the entire ROW to be considered a DUPLICATE Should be case insensitive Example input: red five 0ne two six green RED four 0ne two six green red five 0ne two SIX green red five six two six green red five one two six green red five 0ne two six orange red five 0ne two six yellow red five 0ne two six blue black five 0ne two six green white five nine two six green gray eleven 0ne two six gray silver five 0ne two ten gold Output: red five 0ne two six green black five 0ne two six green white five nine two six green gray eleven 0ne two six silver five 0ne two ten gold

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):

a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

unix apache web server PHP4.4.6

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: php file remove, php remove file, yellow characters, text coder, on 0ne, element 14, text file, remove b, php orange, php remove text, remove text php, request text, php4 script, text row, duplicate file source code, row text php, duplicate file, gold coder, characters including spaces, 0ne, case note law, simple php form example, file side side unix, duplicate yellow, simple program text file

Acerca do Empregador:
( 5 comentários ) United Kingdom

ID do Projeto: #2966617

Premiar a:

bajcreations

See private message.

$17 USD em 3 dias
(183 Avaliações)
6.4

8 freelancers are bidding on average $34 for this job

gsuero

See private message.

$68 USD in 3 dias
(92 Comentários)
5.4
PaleRider81

See private message.

$12.75 USD in 3 dias
(79 Comentários)
5.3
jrhvw

See private message.

$25.5 USD in 3 dias
(21 Comentários)
4.8
klin

See private message.

$10.2 USD in 3 dias
(87 Comentários)
4.7
vw2184081vw

See private message.

$51 USD in 3 dias
(45 Comentários)
4.7
vw1352033vw

See private message.

$76.5 USD in 3 dias
(14 Comentários)
2.4
a4code

See private message.

$11.05 USD in 3 dias
(6 Comentários)
1.9