Hello everybody,
My question is: how to add /tmp/work at the end of line in vi editor.
my file looks like:
cp file1
cp file2
cp file3
****
I need to add " /tmp/work" at the end of each line.
I tried this
:%s/$/" /tmp/work"
and this
:%s/$/\ /tmp/work\/
but it does not work. (2 Replies)
Hi,
how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before.
for exemple if in my file i have
line 1
line 2
I want to have :
start line 1 end
start line 2 end (3 Replies)
We work on AIX 5L
We use vi as text editor (only scripts to create and modifiy).
What do you think of emacs ? Where can I find it ?
Do you know better text editor for scripts ?
Thank you for all answers. (1 Reply)
I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work.
how can I enable them.
thanks (3 Replies)
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Hello All,
Need one Help for one issue.
I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it.
It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies
LEARN ABOUT SUSE
trek
TREK(6) BSD Games Manual TREK(6)NAME
trek -- trekkie game
SYNOPSIS
trek [[-a] file]
DESCRIPTION
trek is a game of space glory and war. Below is a summary of commands. For complete documentation, see Trek by Eric Allman.
If a filename is given, a log of the game is written onto that file. If the -a flag is given before the filename, that file is appended to,
not truncated.
The game will ask you what length game you would like. Valid responses are ``short'', ``medium'', and ``long''. You may also type
``restart'', which restarts a previously saved game. You will then be prompted for the skill, to which you must respond ``novice'',
``fair'', ``good'', ``expert'', ``commodore'', or ``impossible''. You should normally start out with a novice and work up.
In general, throughout the game, if you forget what is appropriate the game will tell you what it expects if you just type in a question
mark.
AUTHOR
Eric Allman
SEE ALSO
/usr/share/doc/bsd-games/trek.me
COMMAND SUMMARY
abandon
capture
cloak up/down
computer request; ...
damages
destruct
dock
help
impulse course distance
lrscan
move course distance
phasers automatic amount
phasers manual amt1 course1 spread1 ...
torpedo course [yes] angle/no
ram course distance
rest time
shell
shields up/down
srscan [yes/ no]
status
terminate yes/no
undock
visual course
warp warp_factor
BSD December 30, 1993 BSD