10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Linux
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)
Discussion started by: umen
8 Replies
3. Shell Programming and Scripting
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)
Discussion started by: jiam912
7 Replies
4. Shell Programming and Scripting
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)
Discussion started by: Onkar Banerjee
4 Replies
5. UNIX Desktop Questions & Answers
Dear All,
Kindly explain me a command in unix to create a empty wav file with example.
Thanks in Advance! (1 Reply)
Discussion started by: thillai_selvan
1 Replies
6. Shell Programming and Scripting
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)
Discussion started by: stunnerz_84
9 Replies
7. AIX
: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)
Discussion started by: Luke21
0 Replies
8. Shell Programming and Scripting
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)
Discussion started by: lodhi1978
11 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: mavesum
4 Replies
10. Shell Programming and Scripting
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)
Discussion started by: na5m
4 Replies
ODFHIGHLIGHT(1p) User Contributed Perl Documentation ODFHIGHLIGHT(1p)
NAME
odfhighlight - search, replace and highlight text in a document
SYNOPSIS
odfhighlight "source.odt" "search string" -r "replacement" -o "target.odt"
replaces "search string" by "replacement" in the file "source.odt", highlights each replacement with a yellow (default) backgound, then
writes the resulting document as "target.odt"
odfhighlight "myfile.odt" "search string" -color "green"
highlights each occurrence of "search string" in "myfile.odt" with a green background color, without changing the text (without "-o"
option, the changes apply to "myfile.odt"
ARGUMENTS AND OPTIONS
Default behaviour
With the "minimal" command line, with only a filename and a string as arguments, each matching string is highlighted with a yellow
background and represented with the "Standard" style.
Options
-e --encoding "xxxxxx"
character set to use, if different from the default
-r --replacement "new string"
"new string" is used as a replacement for "search string"
-c --color "code"
an RGB color code, expressed either as the concatenation of
3 comma-separated decimal values (each one in the range
0..255, ex: "72,61,139" for a dark slate blue), or a 6-digit
hexadecimal number, preceded by a "#" (ex: #00ff00 for green)
or, if a colormap is available and known in your
OpenOffice::OODoc installation, a symbolic color name (ex:
"sky blue")
-s --stylename "name"
the name of the color style (default: "MyHighlight"); the
user must provide a style name that is not already in use
in the document
-p --property "property=value"
This option can be repeated; each occurrence gives an
additional property for the highlight style (font name, size,
foreground color, ...). For example, with the combination of
-p 'fo:color=#ff0000' and -p 'fo:font-size=18pt', the
highlighted text will be made of 18pt-sized, red characters.
In order to master these options, you should have some
knowledge of the Form Objects (FO) vocabulary that is used
in the OpenDocument specification.
-o --output "filename"
-t --target "filename"
an alternative filename to save the modified document, when
the source document must remain unchanged
perl v5.14.2 2010-01-11 ODFHIGHLIGHT(1p)