> Hi,
> Good Morning..!!!

GOOD EVENING HOW ARE YOU GENTLEMEN !!
ALL YOUR BASE ARE BELONG TO US.

> how will get the below lines, from Strat to End in
> between lines, i want to write in seprate file.
> 
> #Start of lines added by SUNWscu
> 20 4 * * 0 /usr/cluster/lib/sc/newcleventlog
> /var/cluster/logs/eventlog
> 20 4 * * 0 /usr/cluster/lib/sc/newcleventlog
> /var/cluster/logs/DS
> # End   of lines added by SUNWscu

crontab -l | /usr/xpg4/bin/awk '/^#[\t ]+Start of lines added by SUNWscu/, 
/^#[\t ]+End of lines added by SUNWscu/ {print;}' > /tmp/crontab-excerpt

> awk" give me the solution

You could be a little nicer in asking for a solution. Using imperative language 
is just plain rude.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to