Sponsored Content
Full Discussion: Logic help with Scenario
Top Forums Shell Programming and Scripting Logic help with Scenario Post 302595044 by joshiamit on Thursday 2nd of February 2012 01:49:55 AM
Old 02-02-2012
Thanks for the response

Quote:
Originally Posted by methyl
What would May 2012 and Aug 2012 look like?

Why would one need this table?
May will look like this
Code:
5/5/2012 apr 2 N Y
5/5/2012 may 5 Y N
5/12/2012 may 0 N N
5/19/2012 may 0 N N
5/26/2012 may 0 N N
6/2/2012 may 5 N Y
6/2/2012 jun 2 Y N
Aug :
8/4/2012 jul 3 N Y
8/4/2012 aug 4 Y N
8/11/2012 aug 0 N N
8/18/2012 aug 0 N N
8/25/2012 aug 0 N N
9/1/2012 aug 6 N Y
9/1/2012 sep 1 Y N

Regarding 2nd point one will definatively need this table in year process where you load the dates which is refer in processes which runs throughout year.

Last edited by Scott; 02-04-2012 at 05:24 PM.. Reason: Code tags...
 

We Also Found This Discussion For You

1. Emergency UNIX and Linux Support

Help in below scenario

Hi, my file has the data like below: 11,231,ABCVAV 22,AAHJHAj22,hdsjkhdls 22,dhskjhdkshd 22,gdgkdkadh 11,232,dgsjgdjh 22,ghdskahdkja 22,shdkajshs 11,233,ddjs 22,dhjkahkd 22,hsajhaah 11,231,sjkjsjj 22,ahkh 22,hsakh From the above i need only the records which starts as 11,231... (5 Replies)
Discussion started by: pandeesh
5 Replies
softwareupdate(8)					    BSD System Manager's Manual 					 softwareupdate(8)

NAME
softwareupdate -- system software update tool SYNOPSIS
softwareupdate command [args ...] DESCRIPTION
Software Update checks for new and updated versions of your software based on information about your computer and current software. Invoke softwareupdate by specifying a command followed by zero or more args. softwareupdate requires admin authentication for all commands except --list. If you run softwareupdate as a normal admin user, you will be prompted for a password where required. Alternatively, you can run softwareupdate as root and avoid all further authentication prompts. The following commands are available: -l | --list List all available updates. -i | --install Each update specified by args is downloaded and installed. args can be one of the following: -r | --recommended All updates that are recommended for your system. These are prefixed with a * character in the --list output. -a | --all All updates that are applicable to your system, including those non-recommended ones, which are prefixed with a - character in the --list output. (Non-recommended updates are uncommon in any case.) item ... One or more specified updates. The --list output shows the item names you can specify here, prefixed by the * or - characters. See EXAMPLES. -d | --download Each update specified by args is downloaded but not installed. The values of args are the same as for the --install command. Updates downloaded with --download can be subsequently installed with --install, or through the App Store (as long as they remain applicable to your system). Updates are downloaded to /Library/Updates, but are not designed to be installed by double-clicking the packages in that directory: always use --install or the App Store to actually perform the install. --ignore identifier ... Manages the per-machine list of ignored updates. The identifier is the first part of the item name (before the dash and version number) that is shown by --list. See EXAMPLES. --reset-ignored Clears the per-machine list of ignored updates. --schedule on | off Manages the per-machine automatic (background) check preference. -h | --help Print command usage. EXAMPLES
The following examples are shown as given to the shell: softwareupdate --list Software Update Tool Copyright 2002-2012 Apple Inc. Finding available software Software Update found the following new or updated software: * MacBookAirEFIUpdate2.4-2.4 MacBook Air EFI Firmware Update (2.4), 3817K [recommended] [restart] * ProAppsQTCodecs-1.0 ProApps QuickTime codecs (1.0), 968K [recommended] * JavaForOSX-1.0 Java for OS X 2012-005 (1.0), 65288K [recommended] sudo softwareupdate --install JavaForOSX-1.0 Software Update Tool Copyright 2002-2012 Apple Inc. Finding available software Downloading Java for OS X 2012-005 Downloaded Java for OS X 2012-005 Installing Java for OS X 2012-005 Done with Java for OS X 2012-005 Done. sudo softwareupdate --ignore JavaForOSX Ignored updates: (JavaForOSX) sudo softwareupdate --schedule Automatic check is on Mac OS September 11, 2012 Mac OS
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy