Search Results

Search: Posts Made By: clarcombe
2,153
Posted By clarcombe
That is a very good point. In essence, the user...
That is a very good point. In essence, the user just has to be able to run a Datastage job and be able to create and delete files within the /DVT area.

However, there are Datastage routines which...
2,153
Posted By clarcombe
Make a subdirectory the root directory
I have a series of configuration files to deliver to multiple unix environments (dev, test, bench, prod etc). However I don't to modify them for each environment.

The files are text which...
1,905
Posted By clarcombe
Thanks for this. This works perfectly
Thanks for this. This works perfectly
1,905
Posted By clarcombe
FTP Windows to Unix
Hi,

I am trying to run the following in a bat file. It works fine as stand alone commands

]ftp.exe<linux box>
<user>
<password>
ascii
delete PRICES.TXT
lcd "C:\Documents and...
5,411
Posted By clarcombe
Hello, I finally went for the following ...
Hello,

I finally went for the following

HEADER=` head -1 /applis/projets/COP_DEV/data/HMC/fichseq/ee1ESP0LOT16AUX_01_177_0_DS.NEWHEADER`
sed -i "1i$HEADER"...
5,411
Posted By clarcombe
Add a header to a sort file instruction
Hello,

I have a header which I have to add to a sorted file, however if I use
cat header sortedfile > newfile, the operation takes 2 minutes as the sorted file is over 400mb.

I have noticed...
8,398
Posted By clarcombe
No, I think you are wrong there. Your explanation...
No, I think you are wrong there. Your explanation is far clearer than man sort.

English is my first language, man help is my fifth !!

Many Thanks

Colin
8,398
Posted By clarcombe
Excellent. That works perfectly What...
Excellent. That works perfectly


What does the -k4,4n -k5,5r mean. I understand the 4n part but what does the , do?

I modified the command
sort -t '|' -k4n -k5r...
8,398
Posted By clarcombe
BPC_TRANS_CHARG|000009|000|278|TGL0009|S1_C12...
BPC_TRANS_CHARG|000009|000|278|TGL0009|S1_C12 J60867SNCF0R n'est pas present dans PS_S1_C12_VW
BPC_TRANS_CHARG|000009|000|278|EGL0009|S1_C12 J60867SNCF0R n'est pas present dans PS_S1_C12_VW...
8,398
Posted By clarcombe
Thanks for the reply. Unfortunately I am...
Thanks for the reply.

Unfortunately I am calling unix from within another program (Datastage). I really wanted to keep it to one unix command but if this is not possible I will have to work...
8,398
Posted By clarcombe
Sort on two keys
Hello,

I am trying to sort a text file by two keys but the second key should be reversed.

I have tried -nt '|' -k 4 -rk 5 but it just sorts reversed on key 4.

Does anyone have any...
Showing results 1 to 11 of 11

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