Search Results

Search: Posts Made By: miwinter
5,965
Posted By miwinter
Sorry era, yep, I have gone with that solution...
Sorry era, yep, I have gone with that solution and it looks to be working a dream on my entire live data (about 43,000 rows). Thanks very much to all who have contributed in this thread, your help is...
5,965
Posted By miwinter
Aargh! Why on Earth does AIX not provide this...
Aargh! Why on Earth does AIX not provide this option! It's just what I'm after
5,965
Posted By miwinter
Cheers again :) That seems to work although it...
Cheers again :) That seems to work although it returns each line multiple times, meaning the output file becomes much larger than the original
5,965
Posted By miwinter
That's closer yes... although, I've highlighted...
That's closer yes... although, I've highlighted above where records are out of line:

9025:11:35 - this should sit between 9025:19:10 and 9025:09:43

989:13:42 - this should be above 989:08:56
5,965
Posted By miwinter
Thanks for the uber-fast reply Krish. I looked at...
Thanks for the uber-fast reply Krish. I looked at the key definition thing (k switch) but it didn't seem to to work either. Using what you gave does the right thing, only, when I transpose that...
5,965
Posted By miwinter
Sort command - strange behaviour
Hi guys,

I have the following example data:

A;00:00:19
B;00:01:02
C;00:00:13
D;00:00:16
E;00:02:27
F;00:00:12
G;00:00:21
H;00:00:19
I;00:00:13
J;00:13:22

I run the following sort...
14,930
Posted By miwinter
use of sed over cat to merge files
I have three files, basically:

file 1 - one line header
file 2 - big data (approx 80GB)
file 3 - a one line trailer

the existing process cats these together i.e cat file 1 file 2 file 3
...
2,243
Posted By miwinter
Cracking... thanks Jim :D
Cracking... thanks Jim :D
2,243
Posted By miwinter
regular expression help pls
Hi,

I'm not sure why the following command doesn't find files that end with something other than .gz - any ideas please?

find . -name .*[^.][^g][^z]$

In my mind this should find any files,...
12,999
Posted By miwinter
My pleasure ;)
My pleasure ;)
12,999
Posted By miwinter
Sorry, yes, I meant to add that, but after...
Sorry, yes, I meant to add that, but after editing it to ensure you wouldn't delete files with Jul in the name of the file as well, I totally forgot to document that bit! Cheers BT
2,099
Posted By miwinter
Cheers, I wondered if cron was the best option....
Cheers, I wondered if cron was the best option. Thanks for the confirmation/advice
2,099
Posted By miwinter
Verification of a script already running - where to do it
Hi,

I have a script I want to run as a background process. Where would I add a bit of script so that a check can be performed to see it this is already running and, where it isn't, to then run it?...
12,999
Posted By miwinter
Hi, Copy and paste this when you have used...
Hi,

Copy and paste this when you have used 'cd' to change into the directory you want to work on:

ls -l | grep "[0-9][0-9] Jul" | awk ' {print $9}' | xargs rm -i

Note: this will go ahead and...
3,014
Posted By miwinter
Sort - only one field appears in output?
I'm running against a file with 1008 records like this, all beginning '4760 Slave':

4760 Slave,7,3607 ,GL ,200605,11320024 , ,GBP ,X00033
...
3
23,517
Posted By miwinter
Sorry... I'm wanting to state a named file to...
Sorry... I'm wanting to state a named file to direct it to, so I can run several at once. I don't mind if they end up in $HOME, I just need to change nohup.out to be something I choose, so I can run...
3
23,517
Posted By miwinter
Nohup
Hi,

Using nohup it sends output automatically to $HOME/nohup.out - how do I direct this output to another named file instead, so I can run several scripts in the background at once, directing...
7,970
Posted By miwinter
0403-015 - Cannot access a required executable file. It is in use.
How is this error resolved please?

I'm just trying to run a shell script and am getting this error. All file permissions are fine.

Thanks
Showing results 1 to 18 of 18

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