General :: How To Turn Off Word-wrap In Less

Apr 19, 2011

How can I make the less utility in Linux not wrap lines?

Long version: Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first couple columns. However, word wrap causes one line to become several lines even on wide-screen monitors.

View 2 Replies


ADVERTISEMENT

General :: Cannot Disable Word Wrap For All Text Files

Nov 13, 2010

I'm not a newbie to Linux, but I'm a newbie to LQ. I've searched the internet for an answer to an issue I'm having with JOE, to no avail.For my editing purposes, I HATE word wrap. I've read the man page extensively and nothing I try works.

To disable word wrap, it says, simply edit the joerc file and place --wordrap in the first column. Done. It works for .pl, and it works for .c (seems to be built in for C). Bottom line, I cannot disable word wrap for all text files, or at least the ones I want to edit. Has anyone solved this?

View 2 Replies View Related

Ubuntu :: Abiword Word Wrap

May 13, 2010

Abiword is splitting words at the end of sentences. If I go to the end of the line and nudge the word, it will wrap but I get an extra space. I can usually delete the space. Sometime, the word will wrap correctly if I continue typing but this is not the typical case.

I know this is not a problem with OpenOffice but I don't want to install 70MB of program just to get a simple word processor.

View 1 Replies View Related

Software :: Another Way To Disable Word Wrap?

Nov 13, 2010

I have no need for word wrap for most of what I use JOE for. The man page and the HOWTO don't answer this question, so I'm wondering if it might be a bug. I'm running Joe 3.7.in the joerc file does not work correctly. It works (built-in?) for .c files, and I can make it work for .pl files. But files with no extension? Forget it.Without having to resort to the menu each time to turn it off, is there another way to disable word wrap?

View 3 Replies View Related

Ubuntu :: Word Wrap In Gnome Sticky Notes?

May 30, 2010

I started using gnome sticky notes along with the Compiz widget layer in Ubuntu 10.04. The problem I'm having is that word wrap on the sticky notes is hit-or-miss. Most of the time the notes will automatically stretch horizontally (even beyond the size of a workspace) rather than break at its current window size. The only other problem I've noticed is that if I right-click on the title of a note, the resulting menu doesn't display correctly (it's looks like a line).Should I reinstall the package it belongs to?

View 1 Replies View Related

General :: Search Word And Delete Only The Word And The Line Using Sed Command?

Jun 28, 2011

Want to search for ~ and delete it as well as to append the entire line to the above line. For Ex:

1111xxxx date Sandy area is ~around this area.3222xxx date There seems to ~left side of map, the colours are accurate (showing green areas)Even if I ~zoom in, the green parks, xxx3258 date The dammed up
~away, the "other" body of water varies ~blackNatural gas leaching.

IT MUST LOOK LIKE:

1111xxxx date Sandy area is around this area. 3222xxx date There seems to left side of map, the colours are accurate (showing green areas)Even if I zoom in, the green parks, xxx3258 date The dammed up away, the "other" body of water varies blackNatural gas leaching.

View 4 Replies View Related

General :: Sed Append Word At End Of Line If Word Is Missing

Feb 19, 2010

I have to modify formsweb.cfg file in Oracle IAS.

Problem description

In formsweb.cfg file are two lines with labels archive_jini= and archive= at the beginning of line. After equal sign (=) is row of filenames of java archives delimited by coma(,). When I insert a new jar file in java directory, I have to append the very same name of jar file to both lines if that name is not yet present.

Example snippet from formsweb.cfg

View 2 Replies View Related

General :: Line Wrap In Less Not Working

Jan 21, 2010

I am having a problem with long lines when displayed in less. It is difficult to describe but I will try...

I have a text file with some lines longer that 80 characters. If I use less to view this file in an Putty terminal set to an 80 character width, some of the lines wrap. So far so good. If I now use the 'j' or 'arrow down' key to scroll down one line at a time all is ok until I encounter another long line (longer than 80 characters in my example). What I see is only the wrapped portion of the line. The first 80 characters are missing. At this point I can type a ctrl-L to refresh the window and then the long line is wrapped properly. It is only when I am scrolling one line at a time that I see this behavior.

I am not certain that this is a "less problem". However, I only notice it using less. vi works properly. more works properly. I suppose it could also be a Putty, bash or environment problem but I'm not sure.

I've played around with options to less such as -X -r -R without any luck. The systems I am connecting to area all running CentOS if that makes any difference.

View 5 Replies View Related

General :: Wrap App With Dynamic Libraries Into One Large Static App?

Feb 24, 2011

I have an old program that kind of depends on older dynamic libraries. They tend to get upgraded easily with distro's updates. I figured that there would be a script with using ldd that would gather the libs needed and create one bigger, statically linked application that wouldn't break so easily. If I could do this, a lot of older KDE libraries could be removed from my system and easen my life.

My distribution of choice is gentoo, but I'm looking for a general solution that doesn't depend on rebuilding anything. If it runs with libs on their path, I'm sure it can be made run with libs somewhere else!

View 1 Replies View Related

Programming :: Read Two Files Word By Word At A Time Using Any Loop By Shell Script?

Mar 4, 2010

Well, I am facing one issue:How can i read two files word by word at a time using any loop as i need word by word comparision in shell script?Please let me know pseudo code.

View 14 Replies View Related

Programming :: Bash Shell Script Read File Word By Word?

Jan 21, 2011

I have a output file look like this:
{"test1" : "test2", "test3" : "test4"},

How can I read word by word in each line?This is not working code:

a=0
while read word
do a=$(($a+1));

[code]...

View 14 Replies View Related

General :: HPLIP - When Turn Off The PC And Turn It On Again The Printer Does NOT Work

Nov 4, 2009

I have Ubuntu 9.04, and a HP laserjet 1018 printer.

I install the printer using:

And when it ask me about plugin I give the path to it. (the 3.9.2 version of the plugin, because Ubuntu 9.04 has the 3.9.2 version of hplip)

well I install the printer, everything works perfectly.....but, when I turn off the PC, and turn it on again, the printer does NOT work!, I send work for being printed but mothing happens , Ubuntu tells me that the job was printed but ... no case, my printer does not print it.

I have to install it again since cero. what can I don to stop install it every time I turn off the computer ?

View 1 Replies View Related

General :: Next Word Of A Particular Word ?

Feb 9, 2011

In linux is there a way to find the next word of a particular word of a file. grep displays entire line of the particular word. But i want only the exact next word of that particular word.is there any command for that.

View 13 Replies View Related

Programming :: Bash Read Input Word For Word ?

May 4, 2010

I am pretty new to bash scripting...I am trying to write a script that will take an input and read it word for word and then DO something with it like echo. I have been able to find how to read word for word from a file but I don't know how to do it with input.

I was looking for something like

Code:

exit 0 The input would be A-Z a-z 0-9 and have a single space between each word.

View 2 Replies View Related

Software :: How To Wrap Words In Vi

Dec 7, 2010

I just typed several long lines into vi but I only want it to have 80 columns. How can I set this in vi?

View 1 Replies View Related

Ubuntu :: Edgeless Pointer Wrap-around?

Jan 23, 2010

Is there any equivalent for Linux to the "Edgeless" software for Windows that lets the mouse pointer wrap around from one screen edge to the opposite edge? That is, if you move the pointer off the screen to the right, it comes back in on the left side.

View 2 Replies View Related

Programming :: Using Ld -wrap Function To Instrument

Feb 20, 2010

I am trying the wrap feature for the first time. I followed the instruction as mentioned in this link URl...but I am getting an error saying "undefine reference to __wrap_malloc.I followed all the steps, but the post was a decade old, I am sure something has changed? or am I missing something.

View 2 Replies View Related

Ubuntu :: Gedit Does Text-wrap To The Margin?

Aug 25, 2010

I hope I am pasting this in the correct place. I am a big fan of minimalist software- and Gedit is an excellent program. Now I am not a a programmer or anything, but I do like to write, and Gedit seems very well suited towards what I want. A simple word-bashing-out program.

But my problem is that it does text-wrap to the margin. Now I don't particularly want to do this manually, and the option in the preferences menu doesn't seem to work.

View 5 Replies View Related

Fedora :: Wrap Icon Label Text In Overview?

Jul 4, 2011

how to wrap the text in the overview for the icons I tell you I love opensource. Straight from some of the guys who wrote gnome shell, and yes the reason it was left out by default is because it has some quirks. Yes it wraps text - however if you have long words - like this_file_has_no_spaces then it will overflow into the icon on either side of it. But most application names have spaces. The obvious place you will see this happening is in recent items where that displays system files etc. The other issue is that when you hover/highlight an icon it will only highlight the first line of text. That's pretty much it and with a few lines of code then you can increase the font size of applications and don't have to worry about names getting cut off

[Code]...

View 4 Replies View Related

Ubuntu Installation :: Vertical Screen Wrap After Upgrading To 10.04 LTS?

Jun 24, 2010

I am seeing the Vertical screen wrap problem (discussed in [URL]) on a 64-bit Athlon XP desktop with the Ubuntu version that I installed yesterday (10.04 LTS 32-bit).

Vertical screen wrap, with the mouse pointer offset by a few pixels to the north, taskbar partially visible .

The xserver video amd package version is, xserver-xorg-video-amd 2.11.8-4 and the geode package is, xserver-xorg-video-geode 2.11.8-4. Is it possible that the problem lies in the new geode package (and not the intel/amd driver) ?

View 1 Replies View Related

Software :: Change Or Disable Line Wrap In Evolution ?

Apr 21, 2010

Anyone know the secred magic incantation is get Evolution to either stop doing line wrap while composing email, or at least extend the line size?

View 7 Replies View Related

General :: How To Convert Word - Doc - To PDF ?

Jun 24, 2010

I have a set of files in .doc format, that need to be converted to .pdf format. I am using Ubuntu linux.

View 7 Replies View Related

General :: How To Add Word At The End Of File

Sep 13, 2010

I'm trying to add a word at the end of a file that already contains data. I need to do it using a single command without human interaction cause it's gonna be part of an automatic script.

View 2 Replies View Related

General :: Word Autocompleteion In Vi

Jan 29, 2010

I want to add word autocompletion feature to my vi editor.my .dict file contains C++ keyword(near about 90 words).

View 2 Replies View Related

General :: Bold Word In Mail

Jul 21, 2010

I have a script to output the result ( eg. echo $x ) , then send result to my Lotus mail server , can advise if I want to bold the words in the mail , what can i do ? thx

View 2 Replies View Related

General :: Deleting A Line Containing The Word?

Jun 10, 2010

what would be the syntax to delete a line containg the word "word" from the file "file" i want to delete the whole line and not only the word...

View 6 Replies View Related

General :: How To Convert Word Or Pdf To Html

Nov 11, 2009

I want to use an utility to convert word,pdf to html with same formatting. that utility able to run in commandline also. i want to integrate it in web page. so which utility is suitable for it

View 9 Replies View Related

General :: Extract The First Word Following A String?

Aug 22, 2010

I need a bash script that can read a file, say example.txt search for the string "This is my example string" and save whatever word/number comes immediately after it to a variable, var.

Example:
blah blah
blah This is my example string extracthere is a very nice word.
blah blah

There are two constraints:1. This needs to assume as little as possible about the nature of the known string "This is my example string" and the word that follows it. I am trying to keep my code adaptable.2. Speed is valuable. This shell will be executed dozens if not hundreds of times so speed is very desirable. I thought I read that some commands are faster than others.

View 14 Replies View Related

General :: Get A Word From A Line Using Sed Or Grep

Mar 30, 2010

I am trying to get a word from a line using sed. Following is the line which I want to use.

inet addr:10.245.86.15 Bcast:10.245.87.255 Mask:255.255.254.0 inet6 addr: fe80::1031:3dff:fe01:55e1/64 Scope:Link

From the above line, I need the ip address like 10.245.86.15 only.

View 4 Replies View Related

General :: Inserting Same Word On Different Lines In Vi

Aug 2, 2011

I am having problem in adding a word in same place on different line in vi editor (/bin/bash).

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved