I can't get touch to simultaneously create three empty files file1, file2, file3. I tried:$ touch filebut all I got was one file:$ fileWhat did I do wrong? (4 Replies)
Hi All,
I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both.
The value of $? is coming 0 in if part also and else part too.
#!/bin/ksh
if ]; then
echo "data"
# exit 0
echo "$?"
else... (4 Replies)
Hi
I need to create multiple text files from onc text file on AIX. The data of text files is as below:
**********************************************
**********************************************
DBVERIFY: Release 10.2.0.4.0 - Production on Tue Nov 10 13:45:42 2009
Copyright (c) 1982,... (11 Replies)
:confused:
Hi there
I have a requirement to create a variable block binary file on AIX.
Once the file has been feed with info , the file needs to be ftp to MVS.
The problem experienced; when transferring the file to MVS.
MVS does not pick up the carriage return line feed, which OA OD
... (0 Replies)
Hi,
I am trying to write an Archive script that should look for files older than x days, zip them and move the zip to the archive directory and delete the files that have been zipped. I am not sure how i can handle this error:
"cowardly refusing to create an empty archieve".
Just wanted to know... (9 Replies)
Hi,
i need a single command to create multiple empty files(no trailing lines as well) and empty the files if already existing.
please let me know or if this has been ansered, if some ocan share the link please, thanks
> newfile.txt
or
:> newfile.txt
do not work (4 Replies)
Hello Guys.
Please I would like to create empty files from a list
In file1 will be the followin values, so i will like to create for each name a empty file.
file1
2191off-r0.sps
2192off-r0.sps
2193off-r0.sps
2194off-r0.sps
2195off-r0.sps
So I need to get 5 empty files.
Thanks for... (7 Replies)
Hey i try to create empty text file with utf-8 encoding
without success
what is the right way to do this ?
tried with
touch test.txt
iconv -f UTF-8 -t UTF-8 test.txt
or
iconv -f latin1 -t UTF-8 test.txt (8 Replies)
Hi all,
Is Der any unix command which will create a empty dataset ..?(in .ds ).I know we can use orchadmin dump command to view dataset data.. but how to create a dataset..?
like
sampledataset.ds
thanks in advance
hemanthsaikumar (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies
LEARN ABOUT OPENSOLARIS
rsvg
rsvg(1) User Commands rsvg(1)NAME
rsvg - convert SVG files into raster images
SYNOPSIS
rsvg [--dpi-x=number] [--dpi-y=number] [--format png|jpeg] [--height=integer] [--quality=integer] [--version] [--width integer] [--x-zoom
number] [--y-zoom number] infile.svg outfile.png | outfile.jpeg
DESCRIPTION
rsvg converts SVG images into PNG and JPEG raster images.
OPTIONS
The following options are supported:
-d --dpi-x=number Set the X resolution of the image in pixels per inch. The default value is 90dpi.
-p --dpi-y=number Set the Y resolution of the image in pixels per inch. The default value is 90dpi.
-f, --format png|jpeg Specify the output format for the converted image. The default value is png.
-h, --height=integer Specify the height of the converted image. The default value is the height of the original image.
-h, --quality=integer JPEG quality value
-v --version Display rsvg version information.
-w, --width integer Specify the width of the converted image. The default value is the width of the original image.
-x, --x-zoom number X Zoom factor, as a percentage. The default value is 1.0.
-y, --y-zoom number Y Zoom factor, as a percentage. The default value is 1.0.
OPERANDS
The following operands are supported:
infile.svg The name of the input SVG file.
outfile.png The name of the converted PNG file.
outfile.jpeg The name of the converted JPEG file.
EXAMPLES
Example 1: Converting an SVG Image to PNG
example% rsvg myfile.svg myfile.png
Example 2: Converting an SVG Image to JPEG at 300dpi Resolution
example% rsvg -f jpeg -d 300 myfile.svg myfile.jpg
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/rsvg Executable to convert SVG files into raster images
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWlibrsvg |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
http://librsvg.sourceforge.net/
http://www.w3.org/TR/SVG11/
librsvg-2(3), attributes(5)NOTES
Original man page written by Dom Lachowicz (cinamod@hotmail.com), Alex Larsson (alex@redhat.com), and others.
Updated by Laszlo Peter, Sun Microsystems Inc., 2004.
SunOS 5.11 7 Sep 2004 rsvg(1)