Search Results

Search: Posts Made By: GrepMe
4,834
Posted By GrepMe
I have tested with nawk as well on my OS aix.
I have tested with nawk as well on my OS aix ,it is printing only year.
4,834
Posted By GrepMe
My os is AIX
Thanks for your time.

My os is AIX
4,834
Posted By GrepMe
i have ran this is the output ,sorry for truble....
i have ran this is the output ,sorry for truble. it is not incrementing and not printing propely.

$> awk -f myfiletest2.awk mydtfile.txt
1111 1999-01-01 2010-01-01
111112010-01-01
2222...
4,834
Posted By GrepMe
some error message
it did n't run it says syntex error with script.

what is the filename at end of the script.

awk -f script.awk input_file.txt
4,834
Posted By GrepMe
Thanks for your time ,it is just printing the year only
Hi

i have tested the script it is just printing the year YYYY only, can you help print month and date as well.

awk -f script.awk input_file.txt

here is the output from my testing.

1111...
4,834
Posted By GrepMe
generate rows from date.
Hi

I have file like below has many rows with different dates and ids.


ID FIRST_DT SEC_DT
111 2005-10-02 2010-10-01
222 2007-11-01 2040-09-13

I need to...
4,921
Posted By GrepMe
? seen on man getopts
Hi thanks for your reply Sir,

I have checked the man it says you can use the ? mark .


Thanks
4,921
Posted By GrepMe
getopts help
Hi

i have part of the scripts below ,getopt for -h or ? not working for me.
can anybody tell me if this sytax right or wrong.

#!/usr/bin/ksh
program=$(basename $0)...
4,387
Posted By GrepMe
limit the number of jobs to run.
i just want to get the BackGround status and limit the number of jobs to run the at a time.

can i able get the back ground exit status ? that i code below.

can jobs -l limit the number of...
11,772
Posted By GrepMe
Can somebody help me with this code
background jobs exit status and limit the number of jobs to run
11,772
Posted By GrepMe
Background jobs exit status
i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help.


$cat...
Showing results 1 to 11 of 11

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