Search Results

Search: Posts Made By: manolain
3,051
Posted By ahamed101
You want the solution in sed itself? We can do...
You want the solution in sed itself? We can do it... I think the issue is cause everything is treated as one line

Try this in the mean time...

ultfichlog=`ls -rt $rutalogs/$proceso* | tail -1`...
3,051
Posted By ahamed101
Add -n and p to all your sed commands and try...
Add -n and p to all your sed commands and try this for getting everything after HORA COMIENZO...
sed -n 's/.*HORA COMIENZO: \(.*\)/\1/p'
--ahamed
3,051
Posted By ahamed101
For DOSing the file you can use this unix2dos...
For DOSing the file you can use this
unix2dos <filename>

--ahamed
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy