Sponsored Content
Top Forums UNIX for Dummies Questions & Answers problem editing big file in vi Post 59588 by videsh77 on Thursday 23rd of December 2004 12:53:59 PM
Old 12-23-2004
problem editing big file in vi

I have a big file, which vi opens it with message not sufficient space with file system.
I am not adding any data in the file but changing some values within.

To make these changes effective, it asks for forced write (w!), even after doing this,
I see this particular record, change is not effected.

What do I need to do in order to effect the changes with this big file?

With my system elvis & vim is not installed.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to view a big file(143M big)

1 . Thanks everyone who read the post first. 2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too. How to view it ? If I want to view 200-300 ,how can I implement it 3 . Thanks (3 Replies)
Discussion started by: chenhao_no1
3 Replies

2. UNIX for Advanced & Expert Users

a BIG problem

dear experts ...help :eek: I'm running FC2 and i was installing fluxbox but it wouldnt work so i uninstalled it by using rpm -e but because i installed fluxbox-styles it was dependent on fluxbox-0.10 so i used rpm -e --nodeps that was all fine and im not sure that was the cause of the error, but... (1 Reply)
Discussion started by: zeeman
1 Replies

3. Shell Programming and Scripting

SED - editing file names (End of line problem?)

For lists in sed, to say what to replace, is this correct: I am hoping that this would recognise that either a "." is present, or that the substitution happens at the end of the line. For files with extensions , my script works perfectly. My problem is, files without extentions, i.e. . ... (1 Reply)
Discussion started by: busillis
1 Replies

4. Programming

please help me with this big makefile problem

I need to create an executable with these two makefiles(they both have libaries i need(qt and ruby)) i have extconf.rb gui.ui gui_include.h main.cpp ScaleIM_client.rb ui_gui.h i want to combine them all into one executable please!... (2 Replies)
Discussion started by: gjgfuj
2 Replies

5. Shell Programming and Scripting

big problem with rm command, please help me!!

Hi every body, well, i made quite a big mistake... In a script, I created a directory called "$PWD" ( it was unwanted...). nothing very frightening with that. The problem is that I wanted to remove it and I used the command rm -f -r $PWD And here is the big mistake!! Rather than deleting... (5 Replies)
Discussion started by: Moumou
5 Replies

6. UNIX for Dummies Questions & Answers

How big is too big a config.log file?

I have a 5000 line config.log file with several "maybe" errors. Any reccomendations on finding solvable problems? (2 Replies)
Discussion started by: NeedLotsofHelp
2 Replies

7. Shell Programming and Scripting

problem in using sed command in editing a file

Hi all, I have a conf file, i want to update some entries in that conf file. Below is the code for that using a temporary file. sed '/workgroup=/ c\workgroup=Workgroup' /usr/local/netx.conf > /usr/local/netx.conf.tmp mv -f /usr/local/netx.conf.tmp /usr/local/netx.conf Sample contents of... (9 Replies)
Discussion started by: ranj14r
9 Replies

8. Shell Programming and Scripting

Problem with searching and then editing a file through shell.

Hi, I have searched through this forum as there are many similar entries but could'nt get one of them to work, either that or they were just different to what I needed. Basically I have a file, recordsDatabase. In this file are a few different fields. There is a unique identifier eg 001... (5 Replies)
Discussion started by: U_C_Dispatj
5 Replies

9. Shell Programming and Scripting

Shell quoting problem while editing a remote file using sed

value of i = solarisbox ssh $i "cat /etc/hosts | sed "s/$i\.local\.//" | sed "s/$i\./$i/" | sed "s/$i/$i.sol.com/" > /usr/users/chidori/edit_hosts"While running the above one liner its i am not able to make the changes and write it to the file /usr/users/chidori/edit_hosts . I know there is a... (2 Replies)
Discussion started by: chidori
2 Replies

10. Shell Programming and Scripting

Editing big file in UNIX

Hi Guys, I have a hugefile. I have requirement to change Indicator from "T" to "P" or from "P" to "T" which comes in header itself. I could not open either in any of editors or in UNIX command line using vi as file size > 3GB Please suggest a solution as how to achieve it through script or any... (10 Replies)
Discussion started by: Abdulhameed M
10 Replies
vim-addon-manager(1)					      General Commands Manual					      vim-addon-manager(1)

   ["NAME"]
       vim-addon-manager - command line manager of Vim add-ons

   ["SYNOPSIS"]
       vim-addons [OPTION ...] [COMMAND [ADDON ...]]

   ["DESCRIPTION"]
       Manage Vim addons installed system-wide, enabling on a per-user basis their installation, removal, ...

       vim-addons  is  capable	of  managing  all Vim addons registered in the system-wide registry of Vim addons (see vim-registry(5)). Each sys-
       tem-wide addon can be, with respect to a user Vim configuration, in one of the following states:

       ["installed"]
	      all of the files composing the addon are installed (i.e. symlinked) to their respective places under the target directory. The addon
	      is fully functional for the current user

       ["removed"]
	      the  files  composing the addon are not installed under the target directory.  The addon might still be working for the current user
	      if it is installed system-wide by the local administrator

       ["disabled"]
	      the files composing the addon are not installed under the target directory, but the addon is  installed  system-wide.  However,  the
	      addon has been disabled for the current user explicitly via some configuration line in plugin/vim-addons.vim under the target direc-
	      tory. The addon is not working for the current user

       ["broken"]
	      only some of the files composing the addon are installed under the target directory. The addon is probably not working for the  cur-
	      rent user

       ["unavailable"]
	      some (or all) of the files composing the addon are missing from the source directory

   ["COMMANDS"]
       A  number  of  commands	can  be  given to vim-addons to inspect or alter the status of the addons: list, status, install, remove, disable,
       amend, files, show.

       A description of the semantics of each command is reported below.

       ["list"]
	      list, one per line, the names of the addons available in the system (i.e. of all the addons mentioned in the registry, not necessar-
	      ily of all enabled addons)

       ["status"]
	      show,  one  per  line,  the status of the addons available in the system. If one or more addon arguments are specified only show the
	      status of those addons.  This is the default command if nothing is specified.

       ["install"]
	      install one or more addons under the target directory. Requires at least one addon argument

       ["remove"]
	      remove one or more addons from the target directory. Requires at least one addon argument

       ["disable"]
	      disable one or more addons to be used by the current user. Usually used for addons which are system-wide enabled by the local admin-
	      istrator	but  that  the	current  user  does not want to be used. Using this command will automatically change the content of plug-
	      in/vim-addons.vim under the target directory, probably adding ":let" commands which will inhibit the given addon	from  being  used.
	      Requires at least one addon argument

       ["enable"]
	      undo the effects of a previous disable command. Requires at least one addon argument

       ["files"]
	      list,  one  per  line, the files composing the specified addons. Files are listed relative to components of the Vim runtimepath (see
	      'runtimepath' in the Vim help). Requires at least one addon argument

       ["show"]
	      displays detailed information about the specified addons

   ["OPTIONS"]
       All commands accept the following options:

       ["-h, --help"]
	      show this usage message and exit

       ["-q, --query"]
	      be quiet and make the output more parseable (for "status")

       ["-r, --registry-dir"]
	      set the registry directory (default: /usr/share/vim/registry)

       ["-s, --source-dir"]
	      set the addons source directory (default: /usr/share/vim/addons)

       ["-t, --target-dir"]
	      set the addons target directory (default: $HOME/.vim)

       ["-v, --verbose"]
	      increase verbosity level

       ["-z, --silent"]
	      silent mode: supress most of the output

       ["-y, --system-dir"]
	      set the system-wide target directory (default: /var/lib/vim/addons)

       ["-w, --system-wide"]
	      set the addons target directory to the system-wide target directory, possibly overriding the -t option

   ["AUTHOR"]
       Stefano Zacchiroli <zack@debian.org> James Vega <jamessan@debian.org>

   ["SEE ALSO"]
       vim(1), vim-registry(5)

   ["COPYRIGHT"]
       Copyright (C) 2007 Stefano Zacchiroli Copyright (C) 2009 James Vega

       This program is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as pub-
       lished by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

								   October 2012 					      vim-addon-manager(1)
All times are GMT -4. The time now is 08:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy