read the multiple lines in one file and then based on it,
processing the files based on some logic using loop and
if successful then write the file and delete it,
else do not write the line into the file and simply leave it, and,
then based on it incorporating the changes into the output file
The following operations are needed to be performed in the shell script:
looping through a list of files in the directory, the number of lines in the file are arbitrary,
having a flag value set to count the number of lines within the file and if the 10 lines are reached then set the value to F and repeat the process again for the next set of 10 lines
iterating to generate the value of 10 read lines into a file and subsequently changing the file name according to the file naming convention.
variables for the home environment and paths can be used
Please help as I have to submit this module by morning.
hi,
I'm a software developer with over 5 years of experience working on numerous tools and technologies including bash scripting.
I'm interested in this project and hence would like to discuss it further with you.
thanks,
tofii