Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Changing date format with script Post 303001045 by sharat on Tuesday 25th of July 2017 03:48:15 PM
Old 07-25-2017
Updated the output , can you please let me know
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Changing the date format

Hi, I know there is a Q/A section and lots of posts regarding date command here. I am sorry to start a new thread. I am very new to shell scripting (actually i am working on my first program), so please forgive my ignorance. I could not find an answer to my problem else where so i posted it... (10 Replies)
Discussion started by: Dream86
10 Replies

2. Shell Programming and Scripting

Changing date format

Hi, Is there any way to change one date format to another ?? I mean I have a file having dates in the format (Thu Sep 29 2005) ... and i wud like to change these to YYYYMMDD format .. is there any command which does so ?? Or anything like enum which we have in C ?? Thanks in advance, ... (5 Replies)
Discussion started by: Sabari Nath S
5 Replies

3. UNIX for Dummies Questions & Answers

Changing the format of date

Hi, There are lots of threads about how to manipulate the date using date +%m %....... But how can I change the default format of the commad date? $ date Mon Apr 10 10:57:15 BST 2006 This would be on fedora and SunOs. Cheers, Neil (4 Replies)
Discussion started by: nhatch
4 Replies

4. Post Here to Contact Site Administrators and Moderators

changing the format of date

In my shell script i have a variable which stores date in the format of YYYYMMDD. Is there any way to format this value to MM/DD/YYYY. Thanks. (1 Reply)
Discussion started by: nasirgondal
1 Replies

5. Shell Programming and Scripting

Changing date format

Hi, I have a column in a table of Timestamp datatype. For Example : Var1 is the column 2008-06-26-10.10.30.2006. I have Given query as date(var1) and time (var1) I got the file as in the below format : File1: Col1 Col2 2008-06-02|12.36.06 2008-06-01|23.36.35 But the problem is... (7 Replies)
Discussion started by: manneni prakash
7 Replies

6. Shell Programming and Scripting

Changing Date format

How to change a date stored in a variable to YYYYMMDD. Variable output is in DD-MON-YY,required format is 'YYYYMMDD' Thanks, Sud (1 Reply)
Discussion started by: sud
1 Replies

7. UNIX for Dummies Questions & Answers

Changing from Excel date format to MySQL date format

I have a list of dates in the following format: mm/dd/yyyy and want to change these to the MySQL standard format: yyyy-mm-dd. The dates in the original file may or may not be zero padded, so April is sometimes "04" and other times simply "4". This is what I use to change the format: sed -i '' -e... (2 Replies)
Discussion started by: figaro
2 Replies

8. Shell Programming and Scripting

Changing the date format in a script

Hi, I run a script which outputs various records, anyway one of the columns contains the date in the format DDMMYYYY, I would like to make this DDMMYY. Is there an easy way to do this, (11 Replies)
Discussion started by: mcclunyboy
11 Replies

9. Shell Programming and Scripting

Changing the date format

Hi all, I have a file with below data af23b|11-FEB-12|acc7 ad23b|12-JAN-12|acc4 as23b|15-DEC-11|acc5 z123b|18-FEB-12|acc1 I need the output as below:-(date in yyyymmdd format) af23b|20120211|acc7 ad23b|20120112|acc4 as23b|20111215|acc5 z123b|20120218|acc1 Please help me on this.... (7 Replies)
Discussion started by: gani_85
7 Replies

10. Shell Programming and Scripting

Changing date format

how do i change the following to show me what the date was 7 days ago? date +%Y-%m-%d (1 Reply)
Discussion started by: SkySmart
1 Replies
orbit2-config(1)						   User Commands						  orbit2-config(1)

NAME
orbit2-config - helper script for building with orbit2 SYNOPSIS
orbit2-config [--help ] [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir] [--use-service=service] [client | server] DESCRIPTION
The orbit2-config tool is used to determine the compiler and linker flags that should be used to compile and link programs that use the orbit2 library. It is also used internally by the .m4 macros for GNU autoconf that are included with orbit. In most cases, you will use one (or both) of the options --cflags or --libs, depending on whether you are compiling or linking. OPTIONS
The following options are supported: --cflags Print the compiler flags that are necessary to compile a program using the specified library. --libs Print the linker flags that are necessary to link with the specified library. --exec-prefix=diIf specified, use dir instead of the installation exec prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. --help Print a usage summary. --prefix=dir If specified, use dir instead of the installation prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. This option is also used for the exec prefix, if the --exec-prefix option is not specified. --use-service=seIfispecified, provide additional flags (if any) for using the specified service. Known values for service are: module Cos- Naming, interfaces LNameComponent, LName. --version Print the currently installed version of the library on the standard output. OPERANDS
The following operands are supported: client Used when compiling an orbit2 client. server Used when compiling an orbit2 server. EXAMPLES
Example 1: Getting the orbit2 library version example% orbit2-config --version Example 2: Determining the libraries required to link with the orbit2 library example% orbit2-config --libs EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/orbit2-config Executable for the orbit2 helper script ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-component-devel | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
pkg-config(1), libORBit-2(1) NOTES
This man page was originally written by Chris Waters (xtifr@debian.org) for Debian GNU/Linux. Updated by Dick Porter (dick@acm.org) and Elliot Lee (sopwith@redhat.com). Updated by Brian Cameron, Sun Microsystems, 2003. SunOS 5.10 11 Jan 2003 orbit2-config(1)
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy