07-27-2017
Does ^K appear to be a single character on the screen (that is, when you move the cursor over it (in vi), does the cursor move only to the ^ or also to the K)?
catting the file will typically not show hidden characters. Use the -v option to see hidden characters.
This User Gave Thanks to Scott For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can some one tell me how I can insert a "|" (pipe) at the 15th column throughout a file?
examples:
to insert at begining of line i use :g/^/s//\|/
to insert at ene of line i use :g/$/s//\|/
how can i insert at the 15th column position.
Thanks in advance (2 Replies)
Discussion started by: jxh461
2 Replies
2. Shell Programming and Scripting
help me,
is there any script i can use to insert a single character in every line of the whole file? (1 Reply)
Discussion started by: dakid
1 Replies
3. Shell Programming and Scripting
i have a file contains like this:
i want to create a script that will insert a comma "." after the 10th character so it would be look like this
thanks in advance (5 Replies)
Discussion started by: dakid
5 Replies
4. UNIX for Dummies Questions & Answers
i have a file which contains non printable characters
like enter,escape etc
i want to delete them from the file (2 Replies)
Discussion started by: alokjyotibal
2 Replies
5. Shell Programming and Scripting
I'm working with a large file with multiple records, each record begins with ISA. The issue is, sometimes ISA is at the start of the line, sometimes it's in the middle of the line. So before I can csplit my main file into multiple records, I have to get each record header onto its own line.
... (7 Replies)
Discussion started by: verge
7 Replies
6. Shell Programming and Scripting
cp $l_options $srcdirfile $destdirfile
If i want to check whether there is a non printable character in the variables
$l_options $srcdirfile $destdirfile
how it can be done? (2 Replies)
Discussion started by: lalitpct
2 Replies
7. Shell Programming and Scripting
Hello.
I am using :
sed -i -e '/§name_script§/a#'"${MY_TAB11}"'# \
#'"${MY_TAB1}"'The Standard way'"${MY_TAB7}"'# \
#'"${MY_TAB1}"'==============='"${MY_TAB7}"'# \ ' "$CUR_FILE"
Is there a better way to define "MY_TAB7","MY_TAB11" in other way than :
MY_TAB1=$'\t'
MY_TAB2=${MY_TAB1}$'\t'... (2 Replies)
Discussion started by: jcdole
2 Replies
8. UNIX for Dummies Questions & Answers
When I do the file I get ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
I am almost 100% sure I was able to print a readable version of this file in the past but I cannot remember how. Is it possible to convert this file into something that can be read and or... (3 Replies)
Discussion started by: fsanchez
3 Replies
9. Shell Programming and Scripting
Hello.
I have a string variable named L_TEMP to test a very simple filter.
L_TEMP="50AwL.|KWp9jk"
I want to insert a non printable character between K and W.
I have try this :
linux-g65k:~ # a='50AwL.|K'
linux-g65k:~ # b='Wp9jk'
linux-g65k:~ # L_TEMP="$a$'\x07'$b"
linux-g65k:~ # echo... (6 Replies)
Discussion started by: jcdole
6 Replies
10. Shell Programming and Scripting
Hi,
I am trying to insert header row with a special character delimiter with Unicode u0109 into a file with ‘echo’, header looks like below
echo –e “header1\u0109header\u0109header3\u0109header4”
It just inserting as it is in the quotes but not the special character, Please suggest if am... (2 Replies)
Discussion started by: oom
2 Replies
LEARN ABOUT DEBIAN
keynav
KEYNAV(1) General Commands Manual KEYNAV(1)
NAME
keynav - a keyboard-driven mouse cursor mover
SYNOPSIS
keynav
DESCRIPTION
Keynav makes your keyboard a fast mouse cursor mover. You can move the cursor to any point on the screen with a few key strokes. It also
simulates mouse click. You can do everything mouse can do with a keyboard.
HOW TO USE
Run keynav, and activate it by pressing Ctrl+; (semicolon). You should see a thin frame on the screen with a cross in it.
Default configuration:
* h : select the left half of the region
* j : select the bottom half of the region
* k : select the top half of the region
* l : select the right half of the region
* Shift+h : move the region left
* Shift+j : move the region down
* Shift+k : move the region up
* Shift+l : move the region right
* Semicolon: move the cursor to the center of the selected region
* Spacebar : move the cursor and left-click
* Escape : cancel the move
CONFIGURATION
You can configure your own key setting. There is an example in /usr/share/doc/keynav/keynavrc. Copy it to $HOME/.keynavrc and edit it as
you like.
CONFFILE COMMANDS
* start : activate keynav
* end : deactivate keynav
* cut-left : select the left half of the region
* cut-right : select the right half of the region
* cut-up : select the top half of the region
* cut-down : select the bottom half of the region
* move-left : move the region left
* move-right : move the region right
* move-up : move the region up
* move-down : move the region down
* warp : move the cursor to the center of the selected region
* click 1 : left-click
* click 2 : middle-click
* click 3 : right-click
* doubleclick 1: left-click twice quickly
* doubleclick 2: middle-click twice quickly
* doubleclick 3: right-click twice quickly
* drag <button> [keyseq]: toggle dragging mode for the given button
Example: "drag 1 alt" to do a alt+click-drag
* grid <rows>x<columns> : change the grid layout of the selection
Example: "grid 2x3" to cut screen to 6 cells
* cell-select <row>x<column>: select a specific cell in the grid
* cell-select <cell> : select a specific cell in the grid
AUTHOR
keynav was written by Jordan Sissel <jls@semicomplete.com>.
This manual page was written by Wen-Yen Chuang <caleb@calno.com>, for the Debian project (but may be used by others).
KEYNAV(1)