Clearly you can identify the path generated for the each file by that tool is broken because there exists no "/" between date directory and the filename . I want to insert a "/" between the "date" and "filename" so that it becomes complete because this path is fed to another tool.
It should look like :
Hi ,
Thanks for your reply but it working partially . Actually the the line looks like
/tmp/night_release/proj_release_20090416Filename_release_1_0_20090416.zip
Hi ,
Thanks for this reply it is working now. But is it good way to proceed ? because filename is different for different line In that case I have to write an another script to cut the file names and replace it with each time. Your suggetions?
can you please explain how actually the sed search for a pattern wen search is done by grouping. Y the below command is not working ?..
I am bit confused here ...
sed 's|\(.*[0-9]+\)\(.*[0-9]+\)|\1/\2|' File
how actaully it consider the .* wen it comes to pattern matching.