I've been trying in vain to delete a file that I accidentally created. The name of the file is -e
of course, everything I attempt to do with the rm command (rm -i * for example) comes back with:
rm: illegal option -- e
usage: rm file ...
Any suggestions on what I can do to remove this... (3 Replies)
I want to copy the contents of a named pipe to a file. I have tried using:
cat pipe.p >> transcript.log
but I have been unsuccessful, any ideas? (4 Replies)
Hi
I installed BIND 9 from dvd image of my Solaris 10 (SUNWbind, SUNWbindr) and when I try to start it(svcadm enable network/dns/server), it says there is no /etc/named.conf file.
Why is it so ?
Should not this file be created during installation phase ?
Do I have to create it manually ?... (0 Replies)
I would like to pipe (redirect ? - what is the right term?) the output of my script to a file named with the current date.
If I run this at a command prompt:
date +'%Y%m%d"
...it returns "20110429"
OK, that's good... so I try:
./script.sh > "'date +%Y%m%d'.csv"
I get a file... (1 Reply)
hello everyone,
I have install centos 5 recently.The file /etc/named.conf not found. I have installed BIND using yum. so now what to do ?? should i create named.conf file manually ???
please help me.
thanks,
sharlin. :) (1 Reply)
Hi folks
Please help to delete the file
-rw-r--r-- 1 sri sri 157 Dec 13 04:42 \
here unexpectedly "\" is created.
if am deleting using
> rm \ --i cant able to delete by using the command
******* here is the output i got ****
sri:> cat \
>
please help me how to delete
... (1 Reply)
I have a ksh93 script I use that processes a file list in the order that they exist in the list. I would like to speed up processing of the list by having multiple processes handle it at once. I was thinking that perhaps a good way to handle this would be to write the list to a named pipe and some... (4 Replies)
I accidentally saved a txt file in vi with the name ":q!".
no amount of regex tomfoolery I can think of will allow me to remove the file.
anyone got any ideas? (4 Replies)
Hi All,'
I need to write a windows bat program to delete particular folders with naming pattern scoped_dir45666 (for example)(including contents)
with batch program. For that I am using below code:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
i got above... (0 Replies)
Discussion started by: onenessboy
0 Replies
LEARN ABOUT PHP
imagesetinterpolation
IMAGESETINTERPOLATION(3) 1 IMAGESETINTERPOLATION(3)imagesetinterpolation - Set the interpolation methodSYNOPSIS
bool imagesetinterpolation (resource $image, [int $method = IMG_BILINEAR_FIXED])
DESCRIPTION
Sets the interpolation method, setting an interpolation method affects the rendering of various functions in GD, such as the imagero-
tate(3) function.
PARAMETERS
o $
image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
o $method
- The interpolation method, which can be one of the following:
o IMG_BELL: Bell filter.
o IMG_BESSEL: Bessel filter.
o IMG_BICUBIC: Bicubic interpolation.
o IMG_BICUBIC_FIXED: Fixed point implementation of the bicubic interpolation.
o IMG_BILINEAR_FIXED: Fixed point implementation of the bilinear interpolation ( default (also on image creation)).
o IMG_BLACKMAN: Blackman window function.
o IMG_BOX: Box blur filter.
o IMG_BSPLINE: Spline interpolation.
o IMG_CATMULLROM: Cubic Hermite spline interpolation.
o IMG_GAUSSIAN: Gaussian function.
o IMG_GENERALIZED_CUBIC: Generalized cubic spline fractal interpolation.
o IMG_HERMITE: Hermite interpolation.
o IMG_HAMMING: Hamming filter.
o IMG_HANNING: Hanning filter.
o IMG_MITCHELL: Mitchell filter.
o IMG_POWER: Power interpolation.
o IMG_QUADRATIC: Inverse quadratic interpolation.
o IMG_SINC: Sinc function.
o IMG_NEAREST_NEIGHBOUR: Nearest neighbour interpolation.
o IMG_WEIGHTED4: Weighting filter.
o IMG_TRIANGLE: Triangle interpolation.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
imagesetinterpolation(3) example
<?php
// Load an image
$im = imagecreate(500, 500);
// By default interpolation is IMG_BILINEAR_FIXED, switch
// to use the 'Mitchell' filter:
imagesetinterpolation($im, IMG_MITCHELL);
// Continue to work with $im ...
?>
NOTES
Changing the interpolation method affects the following functions when rendering:
oimageaffine(3)oimagerotate(3)oimagescale(3)PHP Documentation Group IMAGESETINTERPOLATION(3)