Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Converting gettimeoftheday output to string Post 302141439 by p_aishwarya on Friday 19th of October 2007 04:02:15 AM
Old 10-19-2007
Converting gettimeoftheday output to string

Hi ..


is there a way i can retrieve the output of gettimeoftheday in a string
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

converting string to unicode

How can I can convert a string in a shell script that looks something like: ]] to unicode equivalent? thanks a lot, webtekie (1 Reply)
Discussion started by: webtekie
1 Replies

2. Programming

converting character string to hex string

HI Hi I have a character string which contains some special characters and I need it to display as a hex string. For example, the sample i/p string: ×¥ïA Å gïÛý and the o/p should be : D7A5EF4100C5010067EFDBFD Any pointers or sample code pls. (5 Replies)
Discussion started by: axes
5 Replies

3. Shell Programming and Scripting

Converting the case of the string?

Hi i have a string value in a variable STR eg. STR="ABSDSCSFS" How can be convert it to LOWERCASE in the script? Thanks (5 Replies)
Discussion started by: skyineyes
5 Replies

4. Linux

Strange problem with gettimeoftheday function

Hi all, I am using pthread_cond_timedwait function in my program, to generate the time period of waiting i use gettimeoftheday function. When i run the code after compiling i get a core dump error. However my program runs perfectly if i give a printf statement before the gettimeoftheday... (1 Reply)
Discussion started by: xyz123456
1 Replies

5. Shell Programming and Scripting

Converting integer to String

Hi everyone, I would like to know how to convert an integer to a string. for instance if i=1 i would like to creat a variable called constant1. i want to do this in a for loop so for each value of i, i create a new variable such as constant2, constant3,... and so on. for i in 1 2 3 do ... (1 Reply)
Discussion started by: ROOZ
1 Replies

6. Shell Programming and Scripting

Converting to columnar output

Hi All, I need some help in script or awk to create a textfile. I have a directory where two subdirectories exists say A and B. Now I need to write a ".txt" file with well arranged(space wraped) three columns in it with the data as follows: 1st column:Serial number(which will increment... (4 Replies)
Discussion started by: Sreejith_VK
4 Replies

7. Shell Programming and Scripting

Converting line output to column based output

Hi Guys, I am trying to convert a file which has a row based output to a column based output. My original file looks like this: 1 2 3 4 5 6 1 2 3 1 2 3 (8 Replies)
Discussion started by: npatwardhan
8 Replies

8. Shell Programming and Scripting

Need help converting df output to gigabytes

I need some help converting the disk space values in kilobytes to gigabytes. I can't use df -h because the report has to be in megabytes for some disk space tracking software the customer is using. I have been playing around with trying to assign variables I can use outside of awk so I can do... (1 Reply)
Discussion started by: kuliksco
1 Replies

9. Ubuntu

Converting Impress output to DVD video

I have a need to convert 'Impress' presentations to DVD video format whilst retaining the original presentation in situ. Copying the individual slides and modifying size etc. in Gimp and then importing them into 'Openshot' is both long winded and the loss of quality is significant. Can anybody... (14 Replies)
Discussion started by: Royalist
14 Replies

10. Shell Programming and Scripting

Converting string to integer

I have a function that is supposed to check for user processes and wait for 0 count before exiting the function. I am sure I have more than one issue in my code, but the stumbling block right now is that I am trying to convert the value of my variable from a string to integer. process_count... (10 Replies)
Discussion started by: MIA651
10 Replies
SVN_LOG(3)								 1								SVN_LOG(3)

svn_log - Returns the commit log messages of a repository URL

SYNOPSIS
array svn_log (string $repos_url, [int $start_revision], [int $end_revision], [int $limit], [int $flags = SVN_DISCOVER_CHANGED_PATHS | SVN_STOP_ON_COPY]) DESCRIPTION
svn_log(3) returns the complete history of the item at the repository URL $repos_url, or the history of a specific revision if $start_revi- sion is set. This function is equivalent to svn log --verbose -r $start_revision $repos_url. PARAMETERS
o $repos_url - Repository URL of the item to retrieve log history from. o $start_revision - Revision number of the first log to retrieve. Use SVN_REVISION_HEAD to retrieve the log from the most recent revision. o $end_revision - Revision number of the last log to retrieve. Defaults to $start_revision if specified or to SVN_REVISION_INITIAL otherwise. o $limit - Number of logs to retrieve. o $flags - Any combination of SVN_OMIT_MESSAGES, SVN_DISCOVER_CHANGED_PATHS and SVN_STOP_ON_COPY. RETURN VALUES
On success, this function returns an array file listing in the format of: [0] => Array, ordered most recent (highest) revision first ( [rev] => integer revision number [author] => string author name [msg] => string log message [date] => string date formatted per ISO 8601, i.e. date('c') [paths] => Array, describing changed files ( [0] => Array ( [action] => string letter signifying change [path] => absolute repository path of changed file ) [1] => ... ) ) [1] => ... Note The output will always be a numerically indexed array of arrays, even when there are none or only one log message(s). The value of $action is a subset of the status output in the first column, where possible values are: Actions +-------+-------------------------+ |Letter | | | | | | | Description | | | | +-------+-------------------------+ | M | | | | | | | Item/props was modified | | | | | A | | | | | | | Item was added | | | | | D | | | | | | | Item was deleted | | | | | R | | | | | | | Item was replaced | | | | +-------+-------------------------+ If no changes were made to the item, an empty array is returned. NOTES
Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. EXAMPLES
Example #1 svn_log(3) example <?php print_r( svn_log('http://www.example.com/', 23) ); ?> The above example will output something similar to: Array ( [0] => Array ( [rev] => 23 [author] => 'joe' [msg] => 'Add cheese and salami to our sandwich.' [date] => '2007-04-06T16:00:27-04:00' [paths] => Array ( [0] => Array ( [action] => 'M' [path] => '/sandwich.txt' ) ) ) ) SEE ALSO
SVN documentation on svn log . PHP Documentation Group SVN_LOG(3)
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy