I want to make a script to read a list of ip addresses from a file then convert those ip addresses to ip number.
ip number is made by removing the dots then transfer to a number , so the ip number transfered to binary then to decimal which will represents the ip number 0 : 4294967295
Also I... (17 Replies)
hi ,
i need a script to convert number into hexadecimal base
for example: 237=>ED
it s very important for me thank you in advance for you help (5 Replies)
Hi,
I am using awk to get particular dates in seconds and the output am getting is like 1.28071e+09.
How can I convert it to number format.
Can anyone help me out?
Thanks in advance..! (7 Replies)
Hi, My animal ID's have two zeros in them and are also converting to asterisk. I only need to change the zero values in columns two and three. I would appreciate any help.
This is my data structure:
head phendata.txt
201008809 0.0 0.0
201008810 0.0 0.0
201008813 0.0 0.0
201014103... (6 Replies)
friends
as I can convert this value to number
in this example it is well but can vary the value does not help me cut from a nesecito espefifica opsiocn get zero
CantCabe = 00023
Cant = 23
CantPntCabe = 0000000000000034
CantPnt = 34
if && ; then
echo... (3 Replies)
I have data as below
"ROWS merge process complete. thousand rows changed"
I need to get a variable assigned the value of 1000. I mean convert the string thousand to 1000.
Any help or pointer.
Please use CODE tags as required by forum rules! (6 Replies)
I read in two numbers from a user but the number is a string.
#!/bin/bash
read -p "Enter first number: " num1
read -p "Enter second number: " num2
I know you can use the the "expr" or "bc" command to automatically convert the string to a number then add them together. But I don't want to add... (10 Replies)
Hello Guys,
I have a floating point number 1.14475E+15 I want to convert this number in to full number (Integer or Big integer). I tried couple of functions it did not work. When I use INT=${FLOAT/.*} I am getting value as 1. I don't want a truncated value
#!/bin/bash
#... (9 Replies)
Discussion started by: skatpally
9 Replies
LEARN ABOUT DEBIAN
ximtoppm
ximtoppm(1) General Commands Manual ximtoppm(1)NAME
ximtoppm - convert an Xim file into a portable pixmap
SYNOPSIS
ximtoppm [--alphaout={alpha-filename,-}] [ximfile]
DESCRIPTION
Reads an Xim file as input. Produces a portable pixmap as output. The Xim toolkit is included in the contrib tree of the X.V11R4 release.
OPTIONS --alphaout=alpha-filename
ximtoppm creates a PGM (portable graymap) file containing the alpha channel values in the input image. If the input image doesn't
contain an alpha channel, the alpha-filename file contains all zero (transparent) alpha values. If you don't specify --alphaout,
ximtoppm does not generate an alpha file, and if the input image has an alpha channel, ximtoppm simply discards it.
If you specify - as the filename, ximtoppm writes the alpha output to Standard Output and discards the image.
Actually, an Xim image can contain an arbitrary fourth channel -- it need not be an Alpha channel. ximtoppm extracts any fourth
channel it finds as described above; it doesn't matter if it is an alpha channel or not.
See pnmcomp(1) for one way to use the alpha output file.
All options can be abbreviated to their shortest unique prefix.
SEE ALSO pnmcomp(1), ppm(5)AUTHOR
Copyright (C) 1991 by Jef Poskanzer.
April 2, 2000 ximtoppm(1)