Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

x_edit(1gmt) [debian man page]

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)
Man Page

12 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Repeating "vi" ex-editor 'command mode' commands

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)
Discussion started by: royalibrahim
0 Replies

2. UNIX for Dummies Questions & Answers

Hex editing

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)
Discussion started by: Swanie
3 Replies

3. Shell Programming and Scripting

built-in hex editor?

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)
Discussion started by: Loriel
7 Replies

4. UNIX for Dummies Questions & Answers

How to open a file in TextEdit

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)
Discussion started by: TereNovo
1 Replies

5. Shell Programming and Scripting

Easy ex editor command

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)
Discussion started by: prash184u
3 Replies

6. Shell Programming and Scripting

Using Ex editor commands in a shell script - Help!

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)
Discussion started by: luke222010
4 Replies

7. Shell Programming and Scripting

need to wait until Text Editor is closed

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)
Discussion started by: dd_u_dev1982
1 Replies

8. AIX

Checking AIX 6.1 edition info

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)
Discussion started by: gjarms
2 Replies

9. Solaris

Does texteditor have separate mouse properties?

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)
Discussion started by: lcoreyl
1 Replies

10. Shell Programming and Scripting

ksh script trying to pass a variable to edit a file

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)
Discussion started by: seekryts15
5 Replies

11. Shell Programming and Scripting

How to remove leading and trailing spaces for variable in shell script?

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)
Discussion started by: pottic
10 Replies

12. UNIX for Beginners Questions & Answers

Change text font to greater one in this very good MOTIF texteditor ?

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)
Discussion started by: Sennenmut
7 Replies