Find Jobs
Hire Freelancers

change spacing of source code

$25-30 USD

Selesai
Disiarkan hampir 19 tahun yang lalu

$25-30 USD

Dibayar semasa penghantaran
Here are the rules I would like implemented. (1) A Fortran conditional statement begins with IF, ELSEIF, or ELSE IF, case insensitive (treat "if" and "If" the same as "IF", etc). Leave exactly one space before and after the conditional clause of an if statement, so that IF(MN.GT.2)GO TO 10 ELSEIF (MN.GT.2)GO TO 10 ELSE IF (MN.GT.2)GO TO 10 become IF (MN.GT.2) GO TO 10 ELSEIF (MN.GT.2) GO TO 10 ELSE IF (MN.GT.2) GO TO 10 (2) In a DO statement (beginning with DO, leave exactly one space after the DO, one space before and after the equal sign, and no spaces after that, so DO month = 1, 12, 1 DO month = 1, 12 become DO month = 1,12,1 DO month = 1,12 (3) Put a space before and after the first equal sign in an assignment, so a=b+c becomes a = b+c (4) Remove all spaces just after an opening parenthesis (, brace {, or bracket [ or just before the closing characters ) } ] so that day = ( date + n1 + n2 - ( yr / 100 ) + (yr / 400 ) - 1) become day = (date + n1 + n2 - (yr / 100) + (yr / 400) - 1) Put ([{ and )]} in lists that I can modify. (5) Remove spaces both before and after the characters * and / , so that y = x * y + z / a becomes y = x*y + z/a Put * and / in a list so that I can easily change. (6) Do not change any text that is within single or double quotes. (7) Do not change the column in which any line of code starts. The Perl or Python script should read the file name from standard input and write to standard output. ## Deliverables Perl code that works with Perl 5.8.6 or Python code that works with Python 2.4. ## Platform Windows XP
ID Projek: 3656189

Tentang projek

3 cadangan
Projek jarak jauh
Aktif 19 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
See private message.
$17 USD dalam 5 hari
5.0 (4 ulasan)
1.8
1.8
3 pekerja bebas membida secara purata $23 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$25.50 USD dalam 5 hari
4.9 (59 ulasan)
5.9
5.9
Avatar Pengguna
See private message.
$25.50 USD dalam 5 hari
5.0 (120 ulasan)
5.2
5.2

Tentang klien

Bendera UNITED STATES
United States
5.0
16
Ahli sejak Jun 3, 2002

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.