Search Results

Search: Posts Made By: avig
3,208
Posted By avig
Hi All, I have found the scripts,and works...
Hi All,

I have found the scripts,and works same as required,
#!/bin/bash

## Adjust these to taste (e.g. populate from command line):
daynum=${1:-6}
monthnum=04
year=2013

months=( '' Jan...
3,208
Posted By avig
Thanks Rudic, :)
Thanks Rudic,

:)
3,208
Posted By avig
Hi Rudic, Thanks for the reply and giving...
Hi Rudic,

Thanks for the reply and giving important tips,

cal 03 2013 | awk 'NR==1 {m=substr($1, 1, 3); y=$2} NF>5 {d=$5} END {print "Fri", m, d, y}'

Please provide the solution when i hit...
3,208
Posted By avig
Hi Alister, Provided code is working fine...
Hi Alister,

Provided code is working fine (except day format)

cal 03 2013 | awk 'NR==1 {m=substr($1, 1, 3); y=$2} NF>5 {d=$6} END {print "Fri", m, d, y}'

e:g-when we change d=$6 to d=$5 its...
3,208
Posted By avig
Hi DGPickett, Don't be confuse,as i have...
Hi DGPickett,

Don't be confuse,as i have clear mentioned in my starting thread :)
3,208
Posted By avig
Hi Alister, Thanks So much for your kind...
Hi Alister,

Thanks So much for your kind support,

really appreciated.

regards,
Ashish.
3,208
Posted By avig
Hi alister, I am using Centos 6.2 and i need...
Hi alister,

I am using Centos 6.2 and i need to run this command on bash shell,
3,208
Posted By avig
No its not my homework assignment,this task have...
No its not my homework assignment,this task have assigned by my senior,

I just want to need modification in awk because output should be shown in
[Fri Mar 29 2013] this format.

another...
3,208
Posted By avig
No i don't wana to use Ksh shell.
No i don't wana to use Ksh shell.
3,208
Posted By avig
Help me for using the awk command in UNIX
Hi,

Can you please help me to find/display out last Friday's date of the month using awk command in Unix/Linux.

i have found this command

cal 03 2013 | awk 'NF>5{last = $6} END{print last}'...
21,616
Posted By avig
Hi, Can you please help me to find/display...
Hi,

Can you please help me to find/display out last Friday's date of the month using awk command in Unix/Linux.

i have found this command and its work

cal 03 2013 | awk 'NF>5{last = $6}...
3,287
Posted By avig
apologies for the same
apologies for the same
Showing results 1 to 12 of 12

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