Find Jobs
Hire Freelancers

Write a bash script

$250-750 USD

Avslutat
Publicerad ungefär sju år sedan

$250-750 USD

Betalning vid leverans
I would like a script written that can iterate over a list consisting of entries like this.. un1Z1269E9909 rb1Z129098515 : un1B10EEE7667 rb1B109863068 : un1LL38959888 rb1EE12059208 : un1Z1H26969681 mb1H69267119H mb1H6968H626H : un1Z1426969R8G mb1H69267119H mb1H696BH626H : and transform the strings between the delimiter ‘:’ placing them into groups on individual lines, likes so; un1Z1269E9909, rb1Z12909BS15, NULL, NULL, NULL,NULL un1B10EEE7667, rb1B10986B068,NULL, NULL, NULL,NULL un1Z1H2696968, NULL, NULL, NULL, mb1H69267119H, mb1H6968H626H Each line is to have 6 entries. Every line’s first entry/string will always start with the letter u. The next entry/string on the line will start with either rb or mb. From there the script has to loop over the transformed lines placing each entry in to a variable. then into a INSERT statement. echo "INSERT into balcony (prop1, prop2, prop3, prop4, prop5, prop6) VALUES (${SORTEDLIST[0]},${SORTEDLIST[1]},${SORTEDLIST[2]},${SORTEDLIST[3]},${SORTEDLIST[4]},${SORTEDLIST[5]}); Logic must place ‘NULL’ for some entries and the entries beginning with ‘mb’ will always populate the columns on the right.
Project ID: 13596467

Om projektet

32 anbud
Distansprojekt
Senaste aktivitet sju år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
32 frilansar lägger i genomsnitt anbud på $311 USD för detta uppdrag
Använd avatar
Bid Summmary I'm very strong in BASH scripting, I can help you parse the input correctly, write output as your request and handle errors very carefully. Please visit my profile and consider me for this project. Relevant Experience Deploying VPN server using BASH script: https://www.freelancer.com/projects/12985931.html
$250 USD Om 1 dag
5,0 (63 omdömen)
6,6
6,6
Använd avatar
Dear client, how are you? I am a C/C++ programmer and mathematician. Please check my "Profile & Work List" and tell me details if my skill is in your concern. Looking forward to your response. Thanks.
$300 USD Om 3 dagar
5,0 (9 omdömen)
5,4
5,4
Använd avatar
Your project budget is too high for such task! I can create such script (which will output SQL file) in less than a day for just $70. Thanks. Roman
$250 USD Om 1 dag
4,9 (58 omdömen)
5,7
5,7
Använd avatar
Bid Summmary Had 5+ years of experience in linux and AWS Relevant Experience Amazon Web Services: Lambda, API Gateway, EC2, Load Balancers, RDS, Elastic Beanstalk, Elastic File System, IAM, VPC, Security Groups, Cloud Formation,, S3, CLoudFront, Redshift, Route 53, Cloud Watch, Kinesis, SNS, SQS and etc. Advertising Technologies: Facebook Graph API's, FB Website Custom Audience, FB Dynamic Product Ads, Real Time Bidding, Retargeting Ads. Programming Languages: C, C++, Java, Go Big Data Technologies: Kafka, Flume, Pig, Memsql, Aerospike, Redis, MemCache and etc. Miscellaneous: Algorithms, Data Structures, Distributed Systems, Operating Systems Databases: Oracle, MySQL, Operating Systems: Windows, Linux, Ubuntu and etc. Web Technologies: HTML, PHP Code Deployments: Puppet, Docker Monitoring: Nagios, Ganglia:
$250 USD Om 0 dag
4,9 (18 omdömen)
5,0
5,0
Använd avatar
Hello, I have extensive experience scripting in Bash as well as experience with MySQL. Please let me know your timeline and any other relevant details. Regards, Erik
$250 USD Om 2 dagar
5,0 (7 omdömen)
3,4
3,4
Använd avatar
I am able to write intermediate level shell scripts, but this problem might be easier to solve in Python. Please share a few sample files which are covering all scenarios so that I can verify if Python would be suitable. Also, you have not specified the logic for remaining fields, please explain about them. Finally, would it be likely that the field orders are jumbled and the script would have to take care of it?
$277 USD Om 10 dagar
4,8 (7 omdömen)
3,5
3,5
Använd avatar
Hi. I can do such script for you. I'm linux administrator and using scripts for text processing often. Do you need bash script or other languages are suitable too?
$250 USD Om 7 dagar
5,0 (6 omdömen)
3,0
3,0
Använd avatar
Hi, I can help develop the required script. however I would require following clarifications - how the input would be made available? text file? - how big is the input file expected to be? - is the output expected to be just SQL insert string? or is it expected to be executed against database? - are you particular that this should only be bash script? or open for other scripts - need clarification related to logic described - you have mentioned 'The next entry/string on the line will start with either rb or mb' but last sample given is 'un1Z1H2696968, NULL, NULL, NULL, mb1H69267119H, mb1H6968H626H' - is rule for rb and mb placement in order are different or same regards Babu
$250 USD Om 5 dagar
5,0 (1 omdöme)
2,9
2,9
Använd avatar
Hi, Will do it for less than 250$ I am a python developer with 3 years of experience. I am new to this freelance platform and hence looking to work on low price for enhancing my ratings. This requirement of yours can easily be completed using python libraries, will also write a README file to explain how to execute. Feel free to message :) Cheers!
$250 USD Om 0 dag
5,0 (3 omdömen)
2,6
2,6
Använd avatar
Hi, I've understood your requirements clearly and I can deliver you the script as per the requirements in a day. Hope to hear from you soon. :)
$255 USD Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
A proposal has not yet been provided
$250 USD Om 2 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
i will split the data based on : then i will iterate through each list that has been created to find the value starting with 'u%' then looking at next value if it starts with 'rb%' if not i will place the value as null rest if there are any other value e.g. starting with 'mb%' will be put as other values from the end. concatenating each string of output to make SQL statement for INSERT.
$278 USD Om 2 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
A proposal has not yet been provided
$250 USD Om 3 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
A proposal has not yet been provided
$555 USD Om 10 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I have written many programs in various scripting and programming languages that deal with parsing sentences and formatting them into an order. I've good experience in using regular expressions for doing pattern matching. In programs like these, challenge is more with dealing with the exceptional cases where there is a chance of NULL entries between delimiters or more than 6 entries in some cases. I have taken 2 days to dedicate one complete day for testing. I will do thorough testing and make sure all these cases are taken care according to your requirement. As for the normal functionality, I assure you that it will work perfectly. You can contact me via email to discuss further details. Looking forward to working with you. Thank you!
$250 USD Om 2 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I am a highly motivated junior software developer. I have been programming in python and c/c++ for 2 years now. I have 5 years of experience in the Linux environment, programming shell scripts and working with automation.
$555 USD Om 10 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
hello, i have many years exp worked in linux scripts. feel free to inbox me. thanks for reading. jun
$261 USD Om 4 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
A proposal has not yet been provided
$250 USD Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I have 10.5 years of experience working on shell scripts. I have written shell scripts to modify data in the files with different delimiters,,create different files with different number of columns, etc. I have expertise in using sed, awk commands on file data. and worked on similar kind of projects.
$555 USD Om 10 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
A proposal has not yet been provided
$277 USD Om 2 dagar
0,0 (1 omdöme)
0,0
0,0

Om kunden

Flagga för INDIA
India
0,0
0
Medlem sedan apr. 2, 2017

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.