Sponsored Content
Full Discussion: Differece in '-s' and '-e'
Top Forums Shell Programming and Scripting Differece in '-s' and '-e' Post 302246576 by anishabraham on Tuesday 14th of October 2008 02:34:29 AM
Old 10-14-2008
Error Differece in '-s' and '-e'

Hi I am using a script which will search for a file.
While i am using '-s' with if condition it is not working.
If i am using the '-e' it is working.
I am searching for a 'trigger file' (0KB File).

Anish.
 

We Also Found This Discussion For You

1. Programming

Differece between "env" and "set" command

Hi, Please clarify what is the difference between "env" and "set" command. I guess set will display the system variables and user defined variables. Thanks Sweta (1 Reply)
Discussion started by: sweta
1 Replies
SVN_UPDATE(3)								 1							     SVN_UPDATE(3)

svn_update - Update working copy

SYNOPSIS
int svn_update (string $path, [int $revno = SVN_REVISION_HEAD], [bool $recurse = true]) DESCRIPTION
Update working copy at $path to revision $revno. If $recurse is true, directories will be recursively updated. PARAMETERS
o $path - Path to local working copy. Note Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use realpath(3) or dirname(__FILE__). o $revno - Revision number to update to, default is SVN_REVISION_HEAD. o $recurse - Whether or not to recursively update directories. RETURN VALUES
Returns new revision number on success, returns FALSE on failure. 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 Basic example This example demonstrates basic usage of this function: <?php echo svn_update(realpath('working-copy')); ?> The above example will output something similar to: 234 SEE ALSO
svn_checkout(3), svn_commit(3), SVN documentation for svn update. PHP Documentation Group SVN_UPDATE(3)
All times are GMT -4. The time now is 12:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy