X_EDIT(1gmt) Generic Mapping Tools X_EDIT(1gmt)NAME
x_edit - convert between binary and ASCII crossover correction tables.
SYNOPSIS
x_edit -A|X[name] -O[outname]
DESCRIPTION
The purpose of x_edit is to convert between ASCII and binary versions of the crossover correction tables.
-A Name of ASCII correction table [stdin], write binary table to file given by -O [stdout].
-X Name of binary correction table [stdin], write ASCII table to file given by -O [stdout].
-O Name of output correction table [stdout].
EXAMPLES
To convert the binary file crossover_corr.b to ASCII and write to stdout, run
x_edit -Xcrossover_corr.b > corrections.d
SEE ALSO GMT(1), x_system(1)REFERENCES
Wessel, P. XOVER: A Cross-over Error Detector for Track Data, Computers & Geosciences, 15, 333-346.
GMT 4.5.7 15 Jul 2011 X_EDIT(1gmt)
Check Out this Related Man Page
X_UPDATE(1gmt) Generic Mapping Tools X_UPDATE(1gmt)NAME
x_update - Archiving of Cross-Over Information
SYNOPSIS
x_update cross-overfile [ -Xxbase ] [ -Llegbase ] [ -V ] [ -Wmax ]
DESCRIPTION
x_update reads the ASCII file produced by x_over and writes the information to the database files xx_base.b and xx_legs.b (unless other
filenames are specified on the command line) using a compact, binary format. The options recognized are:
-X Indicate alternate xx_base.b file.
-L Indicate alternate xx_legs.b file.
-V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. Reports the pair currently being pro-
cessed.
-W Prints a warning if the number of COEs generated by any pair of legs exceed max.
BEWARE
For security reasons the xx_legs.b are first renamed to xx_legs.b_old, to prevent loss of information if a black-out or system crash should
occur during writing of the new xx_legs.b file. It is recommended that the old file is left on the disk in case of other disasters. Note
that x_update does not check if a pair of legs already exist in the xx_base.b file. It is the user's responsibility to ensure that duplica-
tion of information does not occur. Should some pairs already in the database need to be re-examined, then run x_remove which will wipe out
all traces of the specified cruises from the x_system data base files. Now we can pass the pairs that need to be redone through
x_over/x_update again.
SEE ALSO GMT(1), x_system(1)REFERENCES
Wessel, P. XOVER: A Cross-over Error Detector for Track Data, Computers & Geosciences, 15, 333-346.
GMT 4.5.7 15 Jul 2011 X_UPDATE(1gmt)
Hi,
How to repeat the command which we typed and executed inside the "vi" editor 'command mode' (will be get by pressing "ESC" and ":" keys), since it cannot be repeated using the "." key?
Because I'm typing the lengthy command at the command mode and do not know the way to repeat it often.... (0 Replies)
Hi,
I am new to UNIX. I have a text file where each line ends on the hexadecimal character "0A". In the file there are some records that contain the Hex characters "0D0A" which I need to replace by Hex "20".
Is there a simple way to do this?
Regards,
Swanie (3 Replies)
I'm using Mac OS 10.2.2 and I need to find a command line hex editor. I figure there's already one built-in, but I just don't know enough about Unix, yet. Basically, what I want to do is tell the hexeditor to open a file, replace a specific offset with a new value, then put the resulting file... (7 Replies)
I have found out how to create a file in Terminal from a script result:
sudo diskutil repairPermissions / > ~/Library/Logs/Permissions.log
I want to now open this file in TextEdit, however when I use the standard open command it opens in the default editor. How do I open the above file in... (1 Reply)
I've this command in a script which edits the file ...
bash$ cat temp_file.txt
THREAD #2 2 Running
bash$ (echo "s/THREAD #2/d"; echo 'wq') | ex -s temp_file.txt
bash$ cat temp_file.txt
THREAD #2 2 Running
If i've more than 1 line it easily deletes the line, but if it is the last line... (3 Replies)
Hi all,
I am trying to use the Ex editor and its commands in a script - more specifically within an if statement within a while loop.
Here are the basics of the loop:
cat $file1 | while read line
do
grep $line $file2
if ]
then
echo $line > $file2
elseex $file2
/ESI185... (4 Replies)
Hi,
I am writing an SH script where I need to open text editor from within the script and wait until the user closed or quit text editor. And then execute consecutive commands.
Here is a very simplified example:
gedit data.txt
# ---- wait until Text editor is exited
echo "Text Editor is... (1 Reply)
Hi folks,
Will you help me getting the edition (standard, express, enterprise) of AIX 6.1 installed. Is there any straight method to find out.
i have tried
uname
oslevel, but no luck,
Regards,
gjarms (2 Replies)
I'm loading a backup harddrive and I can't get the mouse properties to work the same. I prefer the left click to choose the default instead of opening menu, and I have changed the system properties to do this. It works on most everything except texteditor. On the window's menu the left click... (1 Reply)
I'm trying to create a ksh script that will ask the user for the port number. $PORT1 is the variable I want to use that will contain whatever numbers the user inputs. The script would edit ports.txt file, search and delete "./serv 110.1.0.1.$PORT1 200;=3" .
So if the user types 50243 then the... (5 Replies)
Hi
I have variable named tablename. The value to tablename variable has leading and trailing white spaces. How to remove the leading and training white spaces and write the value of the tablename without space to a file using shell script. ( for e.g. tablename= yyy )
INPUT
... (10 Replies)
Hi,
i have here found a very good texteditor source code programmed in the MOTIF GUI language.
For myself i need NOTHING else to program.
To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code.
The reason for this post is that the text... (7 Replies)