Search Results

Search: Posts Made By: Duckman
5,970
Posted By Duckman
ohh!! it's as simple as that!! i'm going to kick...
ohh!! it's as simple as that!! i'm going to kick myself : )
thanks again!
5,970
Posted By Duckman
Thanks! it does indeed work, but I was just...
Thanks! it does indeed work, but I was just wondering how it also sorts the other month and day fields? i take this to mean, sort with "/" as the delimiter and only sort based on field 3(year)?
...
5,970
Posted By Duckman
but this will sort all dates with a common month...
but this will sort all dates with a common month together? before sorting on year?...ie,

01/15/1999
01/16/2000
02/01/1999
5,970
Posted By Duckman
I have a file where dates in the form mm/dd/yyyy...
I have a file where dates in the form mm/dd/yyyy is the first field. How do I sort the file by the date field?

Thanks,

Duckman
38,592
Posted By Duckman
what is the noclobber variable? what does it do? ...
what is the noclobber variable? what does it do?

BTW, thx PXT, it worked!

Neo: indeed I have permissions to write over the file as I can delete, append etc...and now with >| i can overwrite :...
38,592
Posted By Duckman
nono, i don't want to over write the original...
nono, i don't want to over write the original file...well i guess what's what I wrote, but I meant if I want to use

cat abc.dat > abc.txt

and abc.txt already exists

it gives me an error...
38,592
Posted By Duckman
but if i use '>' in a script and the file already...
but if i use '>' in a script and the file already exists, it returns an error message saying that file already exists...
38,592
Posted By Duckman
if i want to pipe output to a file, say, cat...
if i want to pipe output to a file, say,
cat abc.dat > abc.txt, how do i make it replace the existing file?
1,840
Posted By Duckman
I have a file with three fields, where the first...
I have a file with three fields, where the first two fields are of fixed length, left justified, and right padded with spaces. The third field is truncated to the length of the data (max length 5),...
2,597
Posted By Duckman
Thanks! It works great! I'm pretty new to unix so...
Thanks! It works great! I'm pretty new to unix so I have no idea how that script works. Can someone explain the script line by line to me please? thanks

Duckman
2,597
Posted By Duckman
I need a script to do the following and have no...
I need a script to do the following and have no idea how to do it...can someone help?

I need to start Sql*Plus, load a query, say "unmatched.sql", run the query, then load unmatched.sc and run it,...
Showing results 1 to 11 of 11

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