Utility to parse patch files

Closed Posted Apr 12, 2014 Paid on delivery
Closed Paid on delivery

Hi. I have a small project right now, but will have more work later.

I need a utility that sorts Unix/Linux patch files so that the files being patched always appear in alphabetical order. For example, given the attached input, the output would reverse the order of the files.

Please specify what language you will write this utility in.

KEY: The fewer number of lines in the utility that you write, the better.

Also, your utility will need to be well-commented so I can understand what each line does, since I will probably need to enhance your utility later.

The utility should preferably run at the command-line, and take the input file name as an argument. It should direct the output to stdout.

Linux UNIX

Project ID: #5796824

About the project

9 proposals Remote project Active May 19, 2014

9 freelancers are bidding on average $27 for this job

TarasKuzyo

Hi! I am well experienced linux user. I can develop a bash or python script for such purpose. I can deliver you clean and efficient result in fast time. I have good experience with parsing different data files with pyt More

$40 USD in 1 day
(11 Reviews)
4.1
zkutch

Perl. ----------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------- --- More

$40 USD in 1 day
(8 Reviews)
3.0
podol

I would write it in bash. Sorting and displaying the patches in the way you wanted should be something about one line of code. Question - about file name as argument ... if you would like to parse 20 patch files it More

$30 USD in 3 days
(2 Reviews)
2.7
MaRoQ

A proposal has not yet been provided

$34 USD in 1 day
(1 Review)
2.3
cristianleonte88

Hello. I can do a simple Java program for this using regular expressions. That will be easily used from command line having two args: input directory, output directory or input file output file if you like. Als More

$25 USD in 1 day
(0 Reviews)
0.0
ia2guyPE

Command line program written in bash. It will be based on the data file you posted. It will run on posix compliant versions of Linux or Unix equipped with normal commands like grep, sed, awk, cut, sort, etc.

$24 USD in 3 days
(0 Reviews)
0.0
velop14

The solution will be a Python script. Therefore you will have to have Python interpreter installed to run it. The script will read all the patches from an input file. Then it will sort them and write to the standard ou More

$15 USD in 1 day
(0 Reviews)
0.0
decid

Hi, This could be realized with simple tiny bash script. Let me know if it is OK for You. I would be happy to get on my first experience of freelancer.com with your project. BR decid

$20 USD in 1 day
(0 Reviews)
0.0
lokeshsharma1989

About Me: I have been working as Software engineer from past 3 years, Have worked with Linux shell/python scripts for 2.5 years. Proposal: Solution is pretty easy, I can write a shell script which will use text More

$14 USD in 1 day
(0 Reviews)
0.0
diligo

perl, python programming language will be used. i have experience in perl, python, unix for close to 12 years.

$35 USD in 1 day
(0 Reviews)
0.0