I am trying to make this script to use, to find out the DAHDI channel status. Every thing works fine, I even get proper results, however I have this weird error that comes along.
Can someone please help me. Thanks a lot.
Result is as following....
Hi All,
I am seeking some help. While trying to access my website: EDITED (hosted on private server somewhere - don't want to publicize names) - I have a weird behaviour:
I can always get to the site - but some applications get a 500 Internal error.
If I use FireBug (mozilla addon) I can... (2 Replies)
I have some unstable mistake in my program and out-of-idea how to catch it.
I am looking for advice with a way to work it out!
I have in a pretty complicated program (but one source file) set of int-counters - 15, if exactly.
Lately, on final printout I have inpossible value (I am... (3 Replies)
hi all,
i am writing a wrapping script to burn subtitle into video file using transcode. I got this very weird error:
code:
inFile="movie.avi"
subFile="sub.srt"
outFile="movie_sub.avi"
strExc="-i $inFile -x 'mplayer=-sub $subFile' -w $vidBR -o $outFile -y xvid"
echo "transcode $strExc"... (2 Replies)
I just finish the shell script .
This shell can replace weird characters (such as #$%^@!'"...) in file or directory name by "_"
I spent long time on replacing apostrophe in file/directory name
added: 2012-03-14
the 124th line (/usr/bin/perl -i -e "s#\'#\\'#g" /tmp/rpdir_level$i.tmp) is... (5 Replies)
I'm fairly new to unix and I was trying to change the name of my host and my user. I changed the name in /hostname using this: gksudo gedit /etc/hostname I then tried changing the name back but it still gave the same error: {env_reset,... (1 Reply)
Hi,
We are running into very weird error on AIX. Target directory exists on NFS.
We have one script runs every 5 mins on our system. This script is running for 5 years for now without any issuess.
Followig is the snapshot of the script :
stmt_cnt=$(ls -1 ${1}/${2}|wc -l)
if ;... (7 Replies)
Hi,
I am getting below error in Solaris 10 SPARC when trying to issue a search on /var/tmp partition
Below is the query
/bin/find /var/tmp/ -type f -atime +1
Below is the result
/bin/find: stat() error <File> : No such file or directory (28 Replies)
I have having a heck of a time figuring this out so any help is much appreciated.
Here is the code where it seems to be dying, I bolded the part it is complaining about:
$sth = $dbh->prepare( $query ) or die "error with query\n";
$sth->execute() or die "error executing query ...\n";
while(... (1 Reply)
Here is the awk code i wrote :
if ; then
gawk -v field_position="$field_position" -v field_length="$field_length" -v header="$header" -v trailer="$trailer" -v lr="$lr" '{
if(NR==1&&header=="1")
{
next
}
if(NR==lr&&trailer=="1")
{
next
}... (1 Reply)
Hi Guys -
I'm getting the following error when I run my script:
which: no Data_Export.sh in (.)
However, my code completes with fine with a return code of 0. The above error message gets directed to my error file.
Any ideas?
Here is my script:
#source... (1 Reply)
Discussion started by: SIMMS7400
1 Replies
LEARN ABOUT DEBIAN
tiff2bw
TIFF2BW(1) General Commands Manual TIFF2BW(1)NAME
tiff2bw - convert a color TIFF image to greyscale
SYNOPSIS
tiff2bw [ options ] input.tif output.tif
DESCRIPTION
Tiff2bw converts an RGB or Palette color TIFF image to a greyscale image by combining percentages of the red, green, and blue channels. By
default, output samples are created by taking 28% of the red channel, 59% of the green channel, and 11% of the blue channel. To alter
these percentages, the -R, -G, and -B options may be used.
OPTIONS -c Specify a compression scheme to use when writing image data: -c none for no compression, -c packbits for the PackBits compression
algorithm, -c zip for the Deflate compression algorithm, -c g3 for the CCITT Group 3 compression algorithm, -c g4 for the CCITT
Group 4 compression algorithm, and -c lzw for Lempel-Ziv & Welch (the default).
-r Write data with a specified number of rows per strip; by default the number of rows/strip is selected so that each strip is approxi-
mately 8 kilobytes.
-R Specify the percentage of the red channel to use (default 28).
-G Specify the percentage of the green channel to use (default 59).
-B Specify the percentage of the blue channel to use (default 11).
SEE ALSO pal2rgb(1), tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3)
Libtiff library home page: http://www.remotesensing.org/libtiff/
libtiff November 2, 2005 TIFF2BW(1)