Search Results

Search: Posts Made By: dncs
3,944
Posted By dncs
Relace text based on position
Hi,

I have a file with data like below
a}hasksd09090}kdkdkd
aksdkdkdk787}08ksapodd
asl}alks13233}dsjskdkd
I need to replace any '}' to 0 if it appears in 10 to 15 postions.If } appears in any...
16,583
Posted By dncs
Changing double quotes to single quote not...
Changing double quotes to single quote not working.

(script to execute) > test_file_`date +"a_%b_%d_%Y"`
Is still generating the output file as test_file_

Also I cannot try the below example....
16,583
Posted By dncs
I just tried and I am getting the file created as...
I just tried and I am getting the file created as test_file_a_
16,583
Posted By dncs
Append date to a file from CRON
Hi,

I am trying to append date in DAY_Mon_dd_yyyy at the end of a filename from cron.
Cron entry looks as below.
(script to execute) > test_file_`date +"a_%b_%d_%Y"`

File name created after...
2,514
Posted By dncs
Hi, I tried the code but the first awk...
Hi,

I tried the code but the first awk command to fetch the "<8" lines is fetching all the rows even between 8S-8E and 10S-10E also.

Regards
2,514
Posted By dncs
Fraklin Sir, Thanks for your reply and your...
Fraklin Sir,

Thanks for your reply and your code really helps to split the file.
Sir, My requirement is slightly changed now..
Please see if you can help.
Now I have lines in the file as below....
2,514
Posted By dncs
File Splitting
Hi,

I have a big file on Unix Sun Solaris machine where the data is as shown below.

LE8S


line 1
line 2
line 3
LE8E
GE8S

line 1
line 2
line 3
GE8E
LE8S

line 1
7,043
Posted By dncs
Hi bakunin, Thanks for your reply. I will try...
Hi bakunin,
Thanks for your reply.
I will try the solution provided by you.
To provide more details , the file I am going to split will be having multiple Purchase Orders and after executing the...
7,043
Posted By dncs
I have gone thru the Man csplit help but not sure...
I have gone thru the Man csplit help but not sure how to use it for my requirement.
7,043
Posted By dncs
Splitting large file into small files
Hi,

I need to split a large file into small files based on a string.

At different palces in the large I have the string ^Job.
I need to split the file into different files starting from ^Job...
Showing results 1 to 10 of 10

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