12-01-2009
Please post the output from cat -vte of the input file so I can see where the tabs are.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
I have a file like this : "window 1 truck 3 duck 2... fire 1... etc..." and I would like to print the following number of a word I am searching for. (For example here, if I search for the word "fire", I will print "1")
Thank you for your help ! (7 Replies)
Discussion started by: tibo
7 Replies
2. Shell Programming and Scripting
hi ,
i m having a html file and this file looks like this
<ssl>
<name>PIA</name>
<enabled>true</enabled>
<listen-port>39370</listen-port>
</ssl>
<log>
<name>PIA</name>
</log>
<execute-queue>
<name>weblogic.kernel.Default</name>
... (7 Replies)
Discussion started by: becksram123
7 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I have a file like this,
0.0.0.1 /account 327706,Data Cleansing,,,CRM error,100,0
The above line is a comma separted data file. I want to modify the third field
to
The final data file should be like
0.0.0.1 /account 327706,Data Cleansing,,,CRM error,100,0
... (1 Reply)
Discussion started by: girish.raos
1 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell scripting ,infact today only i started working on it.
Can any body tell me some Good tutorials that i can use and that are easy to understand
I shall be obliged (1 Reply)
Discussion started by: Gousia
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am new to unix. I want to delete 2 words placed at position say for example at 23rd and 45th position in a line. I used sed but couldnt achieve this.
Example: the file contains 2 lines
12345 98765 "12345" 876
12345 98765 "64578" 876
I want to delete " placed at position 13 and 19... (4 Replies)
Discussion started by: nbks2u
4 Replies
6. Shell Programming and Scripting
I have a file called "INPUT" which takes the following format
MNT-BANK-NUMBERO:006,00:N
MNT-100-ACCOUNT-NUMBERO:018,00:N
MNT-1000-DESCRIPTIONO:045:C
.
.
.
Now i got to find the displacements of the account numbers of each field of a file.
For the field MNT-BANK-NUMBERO:006,00:N, the... (4 Replies)
Discussion started by: bobby1015
4 Replies
7. Shell Programming and Scripting
hi
I would like to ask if someone knows a command or a script on how to rename a multiple file in the directory starting at the end of the filename or at the .extension( i would like to remove the last 11 character before the extension) for example
Below is the result of my command ls inside... (5 Replies)
Discussion started by: jao_madn
5 Replies
8. Shell Programming and Scripting
Hi all,
There are several lines in my file as
a=123,b=dene,c=2312,d=234234,g=vxcvxcv,h=44
a=3,b=dene,c=22,d=23422342334,g=vxcvxcv,h=4
a=123,b=dene,c=2312,d=234234,g=vxcvxcv,h=678
I take values with this command
awk -F '' '{print $1,$2,$3}' a.txt
I want to put values to a fix position... (6 Replies)
Discussion started by: bahadiraktan
6 Replies
9. Shell Programming and Scripting
I am trying to find/grep the 5th and 6th position character (TX) of a word in a file. I tried to do
grep "....TX" file
The output gives me everything in the file with TX in it. I only need the output with the TX in the 5th and 6th position of the word. Any idea
Example:
test1 car... (5 Replies)
Discussion started by: e_mikey_2000
5 Replies
10. Shell Programming and Scripting
Hi,
I need to search a file for a pattern,replace some other word and write a word at its 72nd position.
For example,
My name is Mano.Im learning Unix.
I want to search the file in all lines containing the word "Mano".In that matched line,replace the word "Unix" with "Java".And... (5 Replies)
Discussion started by: mano1 n
5 Replies
vte(1) User Commands vte(1)
NAME
vte - virtual terminal emulator
SYNOPSIS
vte [-2] [-A] [-a] [-B image] [-b] [-C] [-c command] [-D] [-d] [-f font] [-g] [-h] [-i] [-k] [-n] [-r] [-S] [-s] [-T] [-t terminal-type]
DESCRIPTION
vte is simply a window wrapped around the vte embeddable terminal emulation control, which does most of the work for gnome-terminal. vte is
used mainly to test the control. Most users do not need to use vte directly, but use gnome-terminal instead.
OPTIONS
The following options are supported:
-2 Toggle double buffering. Enabled by default.
-A Toggle antialiasing. The default is that of the current GTK+ default.
-a Toggle audible bell on/off. If audible bell is enabled, visible bell is disabled. If audible bell is disabled, visible bell
is enabled. Audible bell enabled by default.
-B image Use image as background.
-b Toggle cursor blinking. Enabled by default.
-C Open a "console" connection.
-c command Fork the specified command.
-D Use dingus clicking: as the cursor moves over text matching a certain pattern, the matched text is highlighted and the cur-
sor changes shape. Disabled by default.
-d Toggle update debugging. Disabled by default.
-f font Specify the font to use. Default font is "Sans 12".
-g Toggle whether to set geometry hints if font is changed. Enabled by default.
-h Toggle highlighting. Disabled by default.
-i Toggle whether to obey attempts to set the icon name, if applications running in the terminal request this.
-k Toggle whether to keep program running after GTK main loop. Disabled by default.
-n Specify the number of scrollback lines. Minumum number of scrollback lines is 100. Default number of scrollback lines is
100.
-r Toggle whether to set cursor color to pale red. Disabled by default.
-S Toggle launching a shell. Enabled by default.
-s Toggle whether to scroll background image along with text. This option is only useful when combined with the -B option.
Disabled by default.
-T Use transparent background. Overrides the -B option.
-t terminal-typeSpecify the terminal type to emulate.
EXTENDED DESCRIPTION
vte is designed to emulate the xterm program provided by the X Consortium. In turn, xterm is an almost complete emulation of the DEC VT102
terminal. vte supports the same extensions to VT102 as those provided by xterm, through special escape sequences.
xterm is an evolving program. Recent changes to xterm have been been incorporated into vte. This includes emulation of the newer DEC VT220
escape sequences.
EXAMPLES
Example 1: Launching the Virtual Terminal Emulator
example% vte
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables:
VTE_PROFILE_MEMORY Virtualize memory allocation for debugging purposes.
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/vte Executable for virtual terminal emulator
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWvte |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-terminal(1), xterm(1), libvte(3)
NOTES
Written by Johan Steyn, Sun Microsystems Inc., 2004.
SunOS 5.10 6 Sep 2004 vte(1)