Hi I have got an Unix script that produces a path, putting files.
Command:
> ./Output/change_owner$date.de/datafiles/$infoart/1/$identifikator/sidis_io.xml
What I would like to do, is to add the date stamp to it.
Any ideas how to do this?
kind regards
Hi Feherke,
I tried this and it worked:
awk '/ failed:/ { sub("failed:","",$NF); print $NF }' inputfile > outputfile
But I dont know what the code does...:-o)
many thanks anyway
Hi everybody,
this time I need the document name, eg. in this case it is B6300_46005.
Many thanks for your help in advance.
[ERROR]: 2008-12-16-19:31:14:838 in Transformation_15 com.hp.antares.trafo.core.Transformation: Transformation of this document failed: B6300_46005...
Hi,
many thanks for the quick responses. This helped a lot!
Question: Is it possible to grep the string between the / and the .xml, which would be in this case B3450_E83ABGL.
If it was "B3450_E83ABGL.xml", would be also fine.
Thanks again in advance for your help.
rgds
Hi everybody,
I am trying to isolate the String before the ".xml". Do you know how to do that with a grep command. The file contains one example of more than two thousand different strings all having the .xml attached.
Many thanks in advance.
[ERROR]: 2008-10-10-14:30:01:851 in...
Hi all,
I am a Unix newby and need some help on this one:
This logfiles format needs to be sorterd according to time stamp. There can be several logfiles with the same prefix e.g.0001883 but with different timestamps.
The time stamp here is time (15:56,47) and date (18-10-2008)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.