Software :: Make Mcedit Not Replace Tabs With 8 Spaces?

Mar 17, 2010

How to make mcedit not replace tabs with 8 spaces?

View 2 Replies


ADVERTISEMENT

Programming :: Spaces Versus Tabs

Feb 24, 2010

Which do you prefer and why? Also, I remember someone telling me once that while using space indentation use either 4 spaces or 2 spaces. Don't use 3 spaces. Anyone know why they would say not to use 3 spaces?

View 14 Replies View Related

General :: Convert Tabs To Spaces In Many Files?

Jul 2, 2010

I have a lot of files with tabs littered throughout, and I'd like to convert them all into spaces. I know about the expand command, but unfortunately I would have to type out every single file using it. Is there any easier way to do this on Linux?

View 2 Replies View Related

Software :: Geany - Convert Tabs To Spaces?

Feb 26, 2010

How do you convert tabs to spaces?

View 6 Replies View Related

Programming :: Grep Ignoring Spaces Or Tabs?

Jun 29, 2010

I writing a script to go through multiple reports. I want to grep daemon.debug @10.10.10.10 on all reports to make sure it is pointing to the right IP address. the problems is the space between debug and @10 are different on all the reports, some have one space some have two and some have tabs how do I ignore the tabs or spaces and grep daemon.debug @10.10.10.10

daemon.debug /var/log/ftp rotate size 20m files 4 compress
daemon.debug @10.10.10.10
authpriv.* /var/log/secure rotate size 20m files 4 compress
authpriv.* @10.10.10.10

View 6 Replies View Related

Slackware :: Are TABS Replaceable By Spaces In An Xml File

Jun 12, 2011

Kernel 2.6.21.5, slack 12.0 I have a file beginning with <?xml version=1.0?>. May I replace tabs by spaces in it?

View 6 Replies View Related

General :: Replace Multiple Spaces By One Tab

Feb 2, 2011

Ive some textfiles which contains some colums seperated by a various number of spaces, but instead i need one single tab as a seperator.

View 5 Replies View Related

Software :: Retain Multiple Spaces And Tabs In A File By C-sh File Operation?

Feb 21, 2011

Iam reading a file using C-sh script after manipulating the variables I need to dump into a new file. This in working fine but I couldn't retain the multiple spaces and tabs in a same line. For readability I want to print it back as I read. Now script treating multiple tabs as onl tab or space.

View 3 Replies View Related

Software :: Using Sed To Search And Replace Does Not Accept Spaces?

Feb 16, 2011

Back to the problem: I wrote a little bash script that people around here can run to search and replace strings in the current directory and all subdirectories. However, whenever there is a space in the new string (the one doing the replacing), I get this error:

Sed: -e expression #1, char 9: unterminated `s' command

My code looks like this:

Code:
find ./ -type f -not -name find_SNR.sh -exec sed -i 's/'$FIND_SNR_STR1/$FIND_SNR_STR2/'' {} ;

View 5 Replies View Related

Ubuntu :: Replace All Tab Stops In A Text File With 4 Spaces?

May 18, 2011

How can I make vi and nano such that when I press the tab key, it automatically replaces the tab with 4 spaces?

View 5 Replies View Related

Programming :: Replace Spaces With Underscores In File Names?

Jan 11, 2011

I often get files with many spaces as part of their names. I would like to automatically replace these spaces with underscores, but otherwise not change the file name. Is there a way to do this task with just the bash shell?

View 4 Replies View Related

Programming :: Sed - Replace All Spaces At Beginning Of Line With The Number 1?

Jun 21, 2010

Does any one know what syntax i could use to allow me to replace all instances at the beginning of a line with ones.

Before :

Code:
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : RAID1Mirror
RAID level : 1
Status of logical device : Optimal

After

Code:
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
111Logical device name : RAID1Mirror
1111RAID level : 1
11111Status of logical device : Optimal

View 12 Replies View Related

Programming :: Rename File Names : Replace Dots By Spaces, Keep The Extension?

Mar 28, 2011

I am trying to rename a lot of files but need to keep the extension :

the files are films names :

a.b.c.d.***.iso

the result should be replacing "." by spaces " "

this command :

for files in *.iso ; do mv "$files" `echo "$files" | tr '.' ' '`; done

put a space also before the extension iso ??

How can I rename files from

"a.b.c.d.iso" to "a b c d.iso"

View 5 Replies View Related

Ubuntu :: Make Gedit Save Tabs And Open Them When Restarting?

Jan 6, 2011

Textpad on Windows did a great job with this. How to make gedit save tabs when closing and reopen the files when restarting?

View 2 Replies View Related

OpenSUSE :: Firefox Is Slow Opening New Tabs/switching Between Tabs

Mar 25, 2010

Firefox is sometimes slow opening new tabs/switching between tabs. If I click on the kickoff application launcher button, it takes a few seconds to open, and typing something in the search makes it hang up for about 20 seconds before it does the search. Clicking on an app takes 16 seconds before the menu window closes and the program begins to start. Then it takes another 30sec-1min before the app is usable. smplayer plays video with tearing.

Like right now I tried taking a screenshot, and it tells me

Error launching /usr/share/applications/kde4/ksnapshot.desktop. Either KLauncher is not running anymore, or it failed to start the application.

while the app worked fine.

I also tried running glxgears right now, and it runs but the gears don't move, and terminal states

15 frames in 19.0 seconds = 0.789 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 48 requests (48 known processed) with 15 events remaining.

If I'm on dolphin, and I click a video to start smplayer, it takes about 1 minute for it to start.

Memory is using 1.4GB out of 3.6GB, with 0.08GB/2GB swap

Top shows an average usage of less than 10% average. Xorg is always 25%, kwin is always 10% and then rest of the apps are less than that.

CPU: AMD Athlon(tm) II X4 620 Processor
Integrated VIdeo: HD4200 with fglrx driver

When I ssh into the computer with x tunneling, the programs start up faster than being on the desktop

View 5 Replies View Related

Fedora :: Cleaning Up - Make Epiphany Remeber Tabs After Close Browser And Open It Again?

Nov 13, 2009

I just moved to Fedora 11 from Ubuntu and I am very happy, not even thinking to go back to Ubuntu (because of gma500 driver support). How can I clean up Fedora? On Ubuntu I could go to Synaptics, remove Installed (not residetial) packages, I coud use terminal sudo autoremove, autoclean, clean. On Fedora I found out only one so far: yum clean all. Is there anything else I should now, can you share with me how you are cleaning up your Fedora? Second thing, which is not only related to Fedora, is there any chance to make Epiphany remeber tabs after I close the browser and open it again? Don't really want to use any other browser.

View 7 Replies View Related

Software :: Make The Mouse Wheel Switch Work Spaces In Compiz?

Jan 7, 2010

I recently installed Linux Mint 8, which is an amazing distribution.I can get everything to work perfect, but I cannot figure out how to make the mouse wheel change desktops in compiz. Also, make sure that it only changes desktops when the mouse is over an empty desktop because I got it working once but the mouse wheel would change desktops all the time, even when I was trying to scroll through a webpage or document.

View 2 Replies View Related

General :: Shell - Rename A File From Something Without Spaces To Something Containing Spaces?

Jan 26, 2010

Is it possible, in Linux, to rename a file from something without spaces to something containing spaces? I know I can create directories and files with spaces by doing:

mkdir "new dir" and:

touch "new file.txt"

I want to rename files from:

imgp0882.jpg to something like:

20091231 1243 some topic.jpg

And how would it look in a shell script that uses parameters like:

for i in *.jpg do
rename "$i" "$somepath/$mydate $mytime $mytopic$extension"
?

I'm new to Linux (using PCLinuxOS 2009.2), coming from Windows, and I've written myself a little shell script to download files from my camera and then automatically rename them according to a date-and-topic pattern. As you can guess by now, I'm stuck on the bit about renaming. If you want to see my script, here's a copy. I'm not using jhead for this renaming because that only works with JPEG files but I want a single solution for any media format including videos.

View 2 Replies View Related

General :: Install Mcedit On System Ubuntu / Download It?

Oct 2, 2010

I want to install mcedit on my linux Ubuntu....where can I download it? How I install it?

View 1 Replies View Related

Fedora :: Make A Script In Which Drag A File (with Spaces In File Name )?

Aug 2, 2011

i am trying to make a script in which i can drag a file (with spaces in file name ) and it will scp the file to another computermy code is

Code:
echo "--------------------------------------------"
echo "drag file now"

[code]....

View 7 Replies View Related

Programming :: Make Bash Replace The Value Of A Variable?

Apr 18, 2009

I have a program I am writing where I have a for loop and I want to make it substitute the variable twice like:

for ((i=0;i<5;i++)) do
echo $"$i"
done

[code]...

View 3 Replies View Related

General :: Replace Function Replace More Than One Word With The Same Character(s)?

Apr 23, 2011

Can the Replace function replace more than one word with the same character(s)?

Also, do you know how to access the plugins provided by the gedit-plugins package?

View 3 Replies View Related

Server :: Make Auto Replace Http Url In A Web Server?

Jul 2, 2010

I setting up a web server on my Linux (Centos) using "Apache" web server. And its working well, it will show my websites. But when i try to put my url in a internet browser (ie. only type "myweb.com" ) is only be [URL]. Usually as i know like the other websites (ie. google.com) it will go to auto replace the name be [URL]. But my url here it's not be replacing like that. How to do this configuration. I don't know where the services that i need to look. (ie; named (bind) or in Apache web server it self)?

View 2 Replies View Related

Debian :: Add Tabs At The Beginning Of Each Line?

Dec 6, 2010

I want to add something at the end of each line, from line 4 to line 8, in vim? How can i do that? I know adding at the beginning is like: 4,8: normal: i# What i want to add contains special characters ( here it is: <br/> ) , in case that matters.

I want to add tabs at the beginning of each line, from line 6 to line 12. How?

View 1 Replies View Related

Ubuntu :: Possible To Use Ctrl- ( 1 / 2 / 3 ) To Switch Tabs

May 22, 2010

Since I still want to do all my programming on Win32 platform, VirtualBox should be fine there, but would VirtualBox be able to manage games ( BF2, CSS )?If so then well I'm going to Ubuntu permenatly, if not, I'll just Dual boot between Windows & Ubuntu, Ubuntu for everything ( VirtualBox for programming ), and Windows os for Gaming.

My only problem there, is having to restart every time I want to play a game, that's why I was hoping VirtualBox could manage, wouldn't have to be any, fancy resolution.Also, with Firefox on linux, is it possible to use Ctrl- ( 1, 2, 3, etc... ) to switch tabs, on windows this is possible, and an a feature I love.

View 5 Replies View Related

Ubuntu :: Turning Off Tabs In Gedit?

Sep 19, 2010

I'd can't seem to find a preference to turn off gedit's default behaviour of opening a new file in a new tab. I'd like it to open in a new window, so I can view two pages of code side by side. How can I convince gedit to open a new instance?

View 2 Replies View Related

Ubuntu :: Distinguish Between Tabs On Taskbar?

Oct 2, 2010

Currently the way tabs on the taskbar look (the bar at the bottom) make it a bit hard to distinguish between them. sometimes they all look like one big clump of text. its quite messy. when you look at something like the windows xp taskbar [URL] its much easier to see between them. I guess its also because the buttons look 3D in that they stick out a bit. Plus the choice of colours used for when you are on a tab helps.

How do I change/find a theme for this?

View 1 Replies View Related

Ubuntu :: Disable Tabs In Gedit?

Dec 19, 2010

Can I disable the tabs in gedit? I want it to behave like notepad in Windows. I found instructions for adding 'open in new window' menu options, but I want whenever I doubleclick on a text file or run 'gedit filename', the file to be opened in a separate window.

View 5 Replies View Related

Ubuntu :: Can't Rearrange Taskbar Tabs?

May 21, 2011

I was messing with Compiz to enable cube and 3D cube and something disable the rearranging of the tabs in my taskbar. I'm not sure what it was, Something was disabled. Anyone know how to re-enable this?

View 3 Replies View Related

Ubuntu :: Cannot Close Tabs In Firefox 4 On 11.04

May 28, 2011

I was having a problem with the tabs in Firefox 4, on Ubuntu 11.04 x64. No matter what I did, whether it was clicking the "X" button, hitting Ctrl+W, looking for a "Close Tab" option in the menus, I couldn't close any tabs in Firefox 4. I started disabling extensions, and first, I disabled the "Global Unity Integration" extension, and lo and behold, after a restart of Firefox, the problem is no more.

View 3 Replies View Related







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