Search Results

Search: Posts Made By: karthikd214
2,347
Posted By karthikd214
output should look like this
The output should like this..(for the data mention above)

/apps/opt |go_gen.ksh |jan 28 06:15 |jan 28 06:15 |/home/dump
/apps/opt |pend_instl.ksh |jan 28 09:50 |jan 28 09:55 |/home/dump...
2,347
Posted By karthikd214
shell program code logic
Hi,

I have a file (log data) with the sample code as follows

/apps/opt | go_gen.ksh | #START | jan 28 06:15 |/home/dump
/apps/opt | go_gen.ksh | #END | jan 28 06:30 |/home/dump
...
2,719
Posted By karthikd214
any keywork to indicate the end of file in UNIX scripting
while(end of file)
{



}

How to indicate end of file here in the script..
8,170
Posted By karthikd214
sample data
The sample data looks like

/usr/apps|gen_run_script.ksh|#START|Jan 28th 01:16|/home/admin
/usr/apps|foreach_script.ksh|#START|Jan 28th 05:19|/home/admin...
8,170
Posted By karthikd214
Perl function to sort a file based on key fields
Hi,
I am new to PERL.I want to sort all the lines in a file based on 1,2 and 4th filelds.

Can U suggest me a command/function in perl for this operation..
2,485
Posted By karthikd214
Thanks a ton for ur reply..but the problem is if...
Thanks a ton for ur reply..but the problem is if a FILE has more than one entry,each having their corresponding start and end times..I wrote a while loop to get the following format(.csv file)
FILE...
2,485
Posted By karthikd214
Help needed to convert delimited to CSV format
I have a file with the data as follows..

FILE 1|#START|Jan 22 15:03
FILE 1|#END|Jan 22 16:06
FILE 2|#START|Jan 22 5:15
FILE 2|#END|Jan 22 5:25
FILE 3|#START|Jan 22 07:03
FILE 3|#END|Jan 22...
Showing results 1 to 7 of 7

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