Sponsored Content
Full Discussion: vi editor - ex Command help
Top Forums UNIX for Dummies Questions & Answers vi editor - ex Command help Post 13547 by Perderabo on Friday 18th of January 2002 03:33:43 PM
Old 01-18-2002
:1,$ s/yes/no/g
would also work. And % is a shortcut for 1,$ like...
:%s/yes/no/g
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

editor command

I want to copy lines say from 2-5 to line after 20 in vi editor. Can I achieve this in a single command in vi editor. Thanks. (2 Replies)
Discussion started by: tselvanin
2 Replies

2. UNIX for Dummies Questions & Answers

vim as command line editor

Here is my problem, I manage a SunOs 5.8 Server, vi is the default command line editor, I have a line on each users .kshrc profile as follows: export EDITOR=/bin/vi I want to use vim as the command line editor, the below line doesn't work export EDITOR=/bin/vim Thank you (1 Reply)
Discussion started by: tony3101
1 Replies

3. UNIX for Dummies Questions & Answers

Search command on vi editor

Hi all, Here is an example, I would wan to search for all string consists of IMP but not IMP-00015. Values other than 00015 is fine, is there anyone knows how to do that? Thanks. (2 Replies)
Discussion started by: *Jess*
2 Replies

4. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

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

5. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

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

6. 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

7. UNIX for Dummies Questions & Answers

Command to quit from vi editor

Hi Folks I have opened a log file in Vi editor vi abc.logPlease advise me how to finally quit from Vi editor, which command is there..! Is it :q<Enter> (1 Reply)
Discussion started by: KAREENA18
1 Replies

8. Shell Programming and Scripting

Insert charactera in 1st position of specific lines using vi editor or sed command

Dear all, i am having text file like below surya rama ranga laxman rajesh reddy i want add string (OK) before a text from line 3 to 5 the result will be surya rama OK ranga OK laxman OK rajesh reddy (1 Reply)
Discussion started by: suryanarayana
1 Replies

9. UNIX for Beginners Questions & Answers

Accessing Isql command via VI editor

Hi Guru's, I'm new at Unix. I am tasked to monitor the filesystem utilization on OS level (Unix) and DB (Sybase) for multiple systems. I am thinking to use vi editor and make a file, execute that file and all the file systems I need to monitor will be be shown. My script inside vi goes in... (8 Replies)
Discussion started by: Xworks
8 Replies

10. Shell Programming and Scripting

Help with regular command creation for editor vi

Hi, I need help. I need to build command for line command editor vi. I want to take the whole string and assemble it in a regular expression. He then folded into another shape. Can anyone help me? (4 Replies)
Discussion started by: Pabloss
4 Replies
KEXI(1) 							      office								   KEXI(1)

NAME
Kexi - Database creation for everyone SYNOPSIS
kexi [Qt-options] [KDE-options] [options] [project-name] DESCRIPTION
Kexi is an integrated data management application. It can be used for creating database schemas, inserting data, performing queries, and processing data. Forms can be created to provide a custom interface to your data. All database objects - tables, queries and forms - are stored in the database, making it easy to share data and design. OPTIONS
Generic options: --help Show help about options --help-qt Show Qt specific options --help-kde Show KDE specific options --help-all Show all options --author Show author information -v, --version Show version information --license Show license information Options related to entire projects: --createdb Create a new, blank project using specified database driver and database name and exit immediately. You will be asked for confirma- tion if overwriting is needed. --create-opendb Like --createdb, but also open newly created database. --dropdb Drop (remove) a project using specified database driver and database name. You will be asked for confirmation. --drv,--dbdriver <name> Database driver to be used for connecting to a database project (SQLite by default). Ignored if a shortcut filename is provided. -t,--type <name> Specify the type of file provided as an argument. This option is only useful if the filename does not have a valid extension set and its type cannot be determined unambiguously by examining its contents. This option is ignored if no file is specified as an argument. Available file types are: - "project" for a project file (the default) - "shortcut" for a shortcut file pointing to a project. - "connection" for database connection data. --conn,--connection <shortcut_filename> Specify a database connection shortcut .kexic file containing connection data. Can be used with --createdb or --create-opendb for convenience instead of using options like --user, --host or --port. Note: Options like --user, --host have precedence over settings defined in the shortcut file. --readonly Specify that any database connections will be performed without write support. This option is ignored when "createdb" option is present, otherwise the database could not be created. --user-mode Start project in User Mode, regardless of the project settings. --design-mode Start project in Design Mode, regardless of the project settings. --show-navigator Show the Project Navigator side pane even if Kexi runs in User Mode. --hide-menu Hide the main menu (the tabbed toolbar) completely. A number of commands from the main menu is always visible. This option is useful in User Mode. --skip-startup-dialog Skip displaying startup dialog window. If there is no project name specified to open, an empty application window will appear. Options related to opening objects within a project: --open [<object_type>:]<object_name> Open object of type 'object_type' and name 'object_name' from specified project on application start. 'object_type' is optional, if omitted - table type is assumed. Other object types can be query, report, form, script (may be more or less, depending on your plugins installed). Use "" chars to specify names containing spaces. Examples: --open MyTable, --open query:"My very big query" --design [<object_type>:]<object_name> Like --open, but the object will be opened in Design Mode, if one is available. --edittext [<object_type>:]<object_name> Like --open, but the object will be opened in Text Mode, if one is available. --exec, --execute [<object_type>:]<object_name> Start execution of object of type 'object_type' and name 'object_name' on application start. 'object_type' is optional, if omitted - macro type is assumed. Other object types can be script (may be more or less, depending on your plugins installed). Use "" chars to specify names containing spaces. --new <object_type> Start new object design of type 'object_type'. Options related to database servers: -u,--user <name> User name to be used for connecting to a database project. Ignored if a shortcut filename is provided. -h,--host <name> Server (host) name to be used for connecting to a database project. Ignored if a shortcut filename is provided. --port <number> Server's port number to be used for connecting to a database project. Ignored if a shortcut filename is provided. --local-socket <filename> Server's local socket filename to be used for connecting to a database project. Ignored if a shortcut filename is provided. --skip-conn-dialog Skip displaying connection dialog window and connect directly. Available when opening .kexic or .kexis shortcut files. Arguments: project-name Kexi database project filename, Kexi shortcut filename or name of a Kexi database project on a server to open. SEE ALSO
More detailed user documentation is available from help:/kexi (either enter this URL into Konqueror, or run khelpcenter help:/kexi). AUTHOR
This manual page was written by Adrien Grellier <adrien.grellier@laposte.net> for the Debian project (but may be used by others). 11 septembre 2011 KEXI(1)
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy