Search Results

Search: Posts Made By: GM_AIX
36,285
Posted By Lakris
Hi, what have You tried Yourself? I'm afraid...
Hi, what have You tried Yourself?

I'm afraid You can't do that with the dir command alone. Do You mean DOS or NT (command.exe or cmd.exe)?
But if You combine it with the "FOR /F" You can...
2,988
Posted By Scrutinizer
Hi GM_AIX, Use double quotes: sed "s/^ ...
Hi GM_AIX, Use double quotes:
sed "s/^ 'yyyy-mm-dd hh24:mi:ss'/ 'yyyy-mm-dd'/" infile
or
sed "s/^\( 'yyyy-mm-dd\) hh24:mi:ss'/\1'/" infile
or
sed "/^ 'yyyy-mm-dd hh24:mi:ss'/s/...
2,988
Posted By ygemici
like this ? # cat infile 'yyyy-mm-dd...
like this ?
# cat infile
'yyyy-mm-dd hh24:mi:ss'
between to_date(a_start_date,'yyyy-mm-dd hh24:mi:ss')
and to_date(an_end_date,'yyyy-mm-dd hh24:mi:ss')



# sed "s/ \('yyyy-mm-dd\)...
Showing results 1 to 3 of 3

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