02-16-2011
Quote:
Originally Posted by
machalita
The new file its not being recognized as a text file, when i try to open it, i get the error: Gedit has not been able to detect the character coding, please check that you are not trying to open a binary file.
Sorry, don't know much about Gedit.
Can you 'cat' a file or use other editor?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have a file & always I need to remove or delete last 2 lines from that file. So in a file if I have 10 lines then it should return me first 8 lines.
Can someone help me? (4 Replies)
Discussion started by: videsh77
4 Replies
2. Shell Programming and Scripting
How do I delete all the lines after the line containing text ***DISCLOSURES*** . I want to delete this line too.
Thank you (2 Replies)
Discussion started by: reachsamir
2 Replies
3. UNIX for Dummies Questions & Answers
I have a file with 65 sets of 35 coordinates, and would like to isolate these coordinates so that I can easily copy the coordinates to another file. The problem is, I've got a 9 line header before each set of coordinates (so each set is 44 lines long). There are a zillion threads out there about... (3 Replies)
Discussion started by: red baron
3 Replies
4. UNIX for Advanced & Expert Users
How I can delete 100 lines anywhere in a file without opening a file and without renaming the file. (11 Replies)
Discussion started by: Nirgude07
11 Replies
5. Shell Programming and Scripting
We have a server that logs transactions to a file. I want to write a script that will delete the first 50 lines of the file daily without renameing the file or moving the file. (8 Replies)
Discussion started by: daveisme
8 Replies
6. Shell Programming and Scripting
I have a text file with two coulmn
first column is just used in to show the line number, these line number are not there in the real file.
I want to delete the line 16(in this file) here, even tough there is no data inside it . this empty line is causing me a problem by throwing me garbage... (12 Replies)
Discussion started by: shashi792
12 Replies
7. Shell Programming and Scripting
Hi,
I'am working under unix solaris
I have a text file with set of lines, each set of lines (BLOCK) have
three fixed lines :
Between SECND line and THEND we have N lines, N differ from a block to another
sample :
i have to make a script wich delete each 3 fixed lines if N=0... (3 Replies)
Discussion started by: salbanito
3 Replies
8. Shell Programming and Scripting
Hello, I have a file like this one:
03-07-2011 sunz02 message1
03-07-2011 sunz02 message2
03-07-2011 sunz02 message3
01-07-2011 sunz02 message1
01-07-2011 sunz02 message2
01-07-2011 sunz02 ... (1 Reply)
Discussion started by: asanchez
1 Replies
9. Shell Programming and Scripting
Hello, I have a file like:
26-07-2011 sunz02 message1
26-07-2011 sunz02 message2
26-07-2011 sunz02 message3
15-07-2011 sunz02 message1
15-07-2011 sunz02 message2
15-07-2011 sunz02 message3... (5 Replies)
Discussion started by: asanchez
5 Replies
10. Shell Programming and Scripting
here is the part of the code
var1="replicate-ignore-db"
var2="replicate-same-server-id"
var3="skip-slave-start"
var4="report-host"
var5="master-host"
var6="master-user"
var7="master-password"
var8="master-port"
#code below deleted paramters as above if exists in my.cnf
for i in 1 2 3 4... (4 Replies)
Discussion started by: vivek d r
4 Replies
LEARN ABOUT DEBIAN
katoob
KATOOB(1) General Commands Manual KATOOB(1)
NAME
katoob - A Gtk2 light weight multilingual BiDi aware text editor.
katoob is a text editor for X, You can use it to create and edit text files. Katoob support reading and saving text files in many encod-
ings. As well as importing / exporting to HTML character reference.
SYNOPSIS
katoob [options] files...
DESCRIPTION
This manual page documents briefly the katoob commands.
katoob is a light weight, multi lingual, BiDi aware text editor. It supports opening and saving files in multiple encodings. The main sup-
port was for Arabic language but more languages are currently supported.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-h, --help
Show summary of options.
-v, --version
Show version of program.
-u, --usage
Display brief usage message.
- Read input from the standard input.
files...
Specifies the files to be opened. Multiple files are supported but they should be separated by spaces, Reading from pipes is also
supported by using a dash "-". If no files specified, Katoob'll start with an empty document.
FILES
$HOME/.katoob/
User's configuration files directory
$HOME/.katoob/config
Main configuration file
$HOME/.katoob/recent
Recent files list
$PREFIX/share/katoob
Global program directory
EXAMPLES
Opening multiple files:
katoob foo.txt bar.text zot
Opening a file called foo and the output of cat:
cat bar | katoob foo -
Reading from a pipe:
ls | katoob -
Reading from multiple pipes:
katoob - -
Here katoob'll try to read from the standard input 2 times. To close the standard input you should press CTRL-D For each dash passed,
Katoob'll reopen the standard input and read from it.
BUGS
Something like cat foo | katoob - - "should read cat output and then wait for the user input and open each one in a separate document" is
not supported.
AUTHOR
katoob was written by Mohammed Sameer.
BUGS
Bugs should be reported at http://bugzilla.arabeyes.org/ or the Arabeyes.org developer mailing list developer@arabeyes.org.
June 22, 2003 KATOOB(1)