Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have a file called names.txt that looks like:
0,james,hard,fun,circle
1,caron,hard,agin,square
And I want to make it end up like:
james,hard,fun,circle,c0
caron,hard,agin,square,c1
I would like to run a script that asks for the file , and then make those changes to the file using the $1 argument and cut.
I know this is a hard question that may involve alot of code, so I truly appreciate your guys help.
NOTE: my file contains 9999 inputs and starts with first one being 0 , so 10,000 in total entry's.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)