Sponsored Content
Top Forums Shell Programming and Scripting Using :<<cut / cut to comment out block of bash script Post 303021957 by Neo on Tuesday 21st of August 2018 12:51:58 PM
Old 08-21-2018
PHP users routinely remove and replace executable PHP code “on the fly”.

This is pretty standard these days to dynamically change executable code in runtime.
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cut usage in bash

Hello, Could you put some light on this: > echo "ref_categorie=test" | cut -c1-15- test > echo "ref_categorie=test" | cut -c1-14- =test echo "ref_categorie=test" | cut -c15- test echo "ref_categorie=test" | cut -c15 t > It's executed on AIX if that matters. The man page is not very... (2 Replies)
Discussion started by: tsurko
2 Replies

2. Shell Programming and Scripting

Cut out string in bash script

Hi all, I'm trying to extract string from variable in BASH. That's probably trivial for grep but I couldn't figure it out. I want to get name, there's sometimes digit after it, but it should be left out. STRING=http://name5.domain.com:8000/file.dat Could someone help me with that? Any... (10 Replies)
Discussion started by: cootue
10 Replies

3. Shell Programming and Scripting

Cut Command error cut: Bad range

Hi Can anyone what I am doing wrong while using cut command. for f in *.log do logfilename=$f Log "Log file Name: $logfilename" logfile1=`basename $logfilename .log` flength=${#logfile1} Log "file length $flength" from_length=$(($flength - 15)) Log "from... (2 Replies)
Discussion started by: dgmm
2 Replies

4. UNIX for Beginners Questions & Answers

Cut command: can't make it cut fields

I'm a complete beginner in UNIX (and not a computer science student either), just undergoing a tutoring course. Trying to replicate the instructions on my own I directed output of the ls listing command (lists all files of my home directory ) to My_dir.tsv file (see the screenshot) to make use of... (9 Replies)
Discussion started by: scrutinizerix
9 Replies
PHP_LOGO_GUID(3)							 1							  PHP_LOGO_GUID(3)

php_logo_guid - Gets the logo guid

SYNOPSIS
string php_logo_guid (void ) DESCRIPTION
This function returns the ID which can be used to display the PHP logo using the built-in image. Logo is displayed only if expose_php is On. Warning This function has been DEPRECATED and REMOVED as of PHP 5.5.0. RETURN VALUES
Returns PHPE9568F34-D428-11d2-A769-00AA001ACF42. CHANGELOG
+--------+---------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------+ | 5.5.0 | | | | | | | php_logo_guid(3) has been removed from PHP. | | | | +--------+---------------------------------------------+ EXAMPLES
Example #1 php_logo_guid(3) example <?php echo '<img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" />'; ?> SEE ALSO
phpinfo(3), phpversion(3), phpcredits(3), zend_logo_guid(3). PHP Documentation Group PHP_LOGO_GUID(3)
All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy