Red Hat / Fedora :: Replacing SNOWMAN With Double Quotes Using Sed?

Feb 24, 2010

We have 'SNOWMAN' UTF-8 character in our files which i need to replace with doublequotes (").The UTF-8 hex value for 'SNOWMAN' is 0xE2 0x98 0x83 (e29883) , I have written the commands like this but it is not working .........sed -i 's/x0xE2 0x98 0x83/"/g' FileName

View 8 Replies


ADVERTISEMENT

Programming :: Double Quotes Inside Double Quotes?

Jun 6, 2010

In bash I need to use some equivalent of double quotes inside double quotes (or the other way around.)I need to run the following statement to get the output of foo and store it in a variable while passing foo the $file which probably contains spaces.

Code:
variable=$(foo "$file")
The problem is that foo might return an empty string and if it does I need to catch it

[code]...

View 6 Replies View Related

Ubuntu :: Double Quotes And Single Quotes Not Working In 11.04?

Aug 2, 2011

I am not sure If anybody has faced this issue, my keyboard is less responsive when pressing the double quote/single quote key, I have to press it twice for it to print the quote( and that too it prints some other data and not exactly a double-quotes). Initially I thought it was issue with my keyboard, but later I see that it is working fine in Windows XP. It looks some kind of setting issue. If you check the below two examples, example a) is the double quote printed in Ubuntu, it doesnt exactly looks like a double-quotes and b) is the one printed in Windows.

View 1 Replies View Related

Fedora :: Keyboard: Single And Double Quotes Not Working?

Jan 21, 2010

I have a problem with my keyboard. I�m unable to type single or double quotes, at least not the regular sort that you need to write code in almost any programming language ever invented -which makes it pretty useless.A demonstration.Single left and right tilted quotes:Double quotes: m not able to type a single straight quote at all.I just want my keyboard layout to be standard US like everyone elses so I can get on with my work so does anybody know how to just reset it to a normal layout?

View 4 Replies View Related

General :: How To Use Rsync When Filenames Contain Double Quotes

Jan 29, 2011

I am trying to synchronize the content of the directory my_dir/ from /home to /backup. This directory contains a file which name has a double quote in it, such as to"to. Here is my rsync command:
rsync -Cazh /home/my_dir/ /backup/my_dir/

And I get the following message:
rsync: mkstemp "/backup/my_dir/.to"to.d93PZr" failed: Invalid argument (22)
For info, rsync works well when the synchronized filenames contain single quote, parenthesis and space. Thus, why is it bugging with a double quote?

View 3 Replies View Related

Ubuntu :: Sed Finding Item That Contains Double Quotes?

Jul 28, 2011

trying to edit a huge configuration filer graphviz that containsIP addresses.unfortunately, some of the IP addresses didn't get parsed right and have only 3 octets. I am trying to use sed to find these 3 octet lines and delete the line entirely.example lines in the file look like this.

"22.210.73" -> "192.168.159";
"22.210.232" -> "22.210.248";

i have tried doing various things but to no avail. i had something that looked like this...

sed -i '/"*.*.*"/d' myfile

View 2 Replies View Related

Programming :: Ignoring Commas Within Double Quotes?

Nov 4, 2010

I'm trying to write a bash script that has to extract values from a csv file. Problem is there are lines like this:a,b,c,"dd,dd,dd",e,f,gI'm using awk to extract the values but when I try it extract value 4 with awk I get:"ddinstead of:"dd,dd,dd"Does anyone know how to get awk to ignore commas within double quotes?

View 5 Replies View Related

General :: Escaping Double Quotes In A File?

Dec 12, 2010

I know it is pretty trivial but anyway...I have php file that I am trying to read it looks like this

...
add_item_tabulky("Klaun-PF 2011","klaun_pf2011.jpg","","","");
add_item_tabulky("Pras�tko-�ťastn�

[code]...

View 3 Replies View Related

Programming :: Remove Double Quotes Bash?

Jul 20, 2011

grep -e XkbLayout /etc/X11/xorg.conf | grep -v "^#" | awk '{print $3}'

output = "gb"
sometimes= "us"

View 4 Replies View Related

General :: Replacing Single Quotes In Filenames With Another Character

Jan 26, 2011

Can anyone offer a code snippet to recursively go through directories and replace any single or double quotes quotes found in a filename with another character (e.g. "_").If any of the filenames contain a single quote or double quote, then replace it with an underscore.

View 7 Replies View Related

Programming :: Double-quotes Do Not Escape Properly (bash=python)?

May 2, 2010

I wrote the Automatik widget (you can find it at :http://kde-look.org/content/show.php...&PHPSESSID=caeTo improve it, I would like to add this one-line script into a text sensor :

top -b -n 1 | head -12 | tail -6 | sed '/top/d' | awk '{ printf "%-12.12s %-4s %-4s %-3s
" , $12,$9,$10,$2}'

[code]...

View 3 Replies View Related

Ubuntu :: Shell Curly Braces With Double Quotes Does Not Expand As Expect?

Jan 13, 2011

I'm really new here this is the first try to get some knowledge here.I have a littele question."echo {1,2}" does expands 1 and 2.so does "echo "`echo {1,2}`"".But when I do it with double quotes which is "echo "{1,2}"" it doesn't expand at all.why does this happen? I have read man for bash but could not get any clue.

Yuki
Code: -- the output i see --
sh-3.2# echo {1,2}

[code]...

View 3 Replies View Related

Fedora :: Thunderbird - Cut Parts Of Nested Quotes?

Jun 24, 2011

In Thunderbird, when composing a reply to an email that you have quoted, is there a way to cut only part of the quoted material? A typical situation is that you have exchanged a series of emails with someone and your reply has all the old emails from your and the otherperson quoted in it. The quotes are nested inside each other. Often I'd like to chop off all the very old messages and just leave the last few. But the Thunderbird editor seems to make it an all-or-nothing proposition. I can cut the whole quote, but can't highlight a few nested parts and cut them.

View 3 Replies View Related

Hardware :: Kernel Double Fault, Laptop Froze On Distro / Getting Error Double Fault: 0000 [#1] SMP?

Jun 19, 2010

My laptop's been locking up in Linux (Ubuntu, Backtrack, Puppy) periodically for a while now. When it locked up, it was always immune to the magic of SysRq, which I thought might indicate a hardware problem. It became so bad that I had to stop using the laptop.

Today, when I turned it on and tried to boot into Fedora 12, I got the following error (just once, it just locked up at various points during the splash screen after this once):

double fault: 0000 [#1] SMP
last sysfs file:
CPU 0
odules linked in:
Pid: 1, co m: swapper Not ta nted 2.6.32.11-99.fc 2.x86_64 #VGN-T 250N
RIP: 0010:[<ff

All the seemingly missing letters were really missing, not my typos.

As you can see, kernel version is 2.6.32.11-99.fc12.x86_64 and my laptop is a Sony Vaio TZ 250N (Core 2 Duo ULV 1.2GHZ). Note that with the other remaining kernels from the updates, nothing ever happened other than the locking up. The core temperatures hover pretty high, about 55-60C peak but this is still below the critical temp. Memtest came up clean when the problem first started happening.

View 3 Replies View Related

Fedora Installation :: Clarifications Before Replacing FC6 With F10?

May 3, 2009

I have a dual boot configuration now, Windows XP SP3 on the C drive (sda,1 it's a Dell Dimension 4700) and FC 6 on sdb. My goal is to install 10 and be able after installation to boot to either XP or 10. Some of the installation documentation baffles me, so I want clarification before I begin. 1st Question Looking at the screen shots of an installation on the fedora site, the Partition Selection Screen asks What drive would you like to boot this installation from?

Booting an installation? Maybe this meansFrom what drive are you installing? Once 10 is installed, what drive should be the boot drive? From what drive should I boot to install? Would somebody explain the intent of this Partition Screen question? BTW, I will be installing from CDs. 2nd Question: Upgrading Boot Loader I don't understand the Installation Guide, section 8.3 on upgrading vs skipping. I think I got into trouble on this very point going from FC3 to FC6. The boot loader on my Dell must be grub. So, I think I want to upgrade. Perhaps the confusion is that I'm replacing FC6, not upgrading, and upgrade here means only for grub, not for the install.

View 3 Replies View Related

Fedora :: Replacing Dead Disk In Lvm?

Jul 4, 2010

I know that this topic has been posted, responded to, and maybe even resolved, many times here, but I am stuck here with partially dead fileserver and need some pointers.

Problem: one disk drive that was part of a logical volume died. I have a replacement, but I can't get it into the LV and get the LV back up again.

pvcreate --uuid <uuid of dead drive> /dev/sdX1, where /dev/sdX1 is the newly created drive and its partition.
vgcfgrestore VolGroup
vgscan VolGroup
vgchange -ay VolGroup
e2fsck /dev/mapper/VolGroup-LogVol

but, e2fsck can't find a superblock. Apparently this drive is the first in the LV sequence, and it is not formatted as part of the LV.

So how to I get this new disk formatted into the LV without reformatting the entire LV and losing what data I still have?

(FWIW: this is on F11)

View 2 Replies View Related

Fedora :: Replacing Kernel After Hardware Update?

Mar 21, 2010

Just over a year ago I did a main board processor and memory upgrade on my system. I was running Fedora seven i686. If I recall correctly I booted with the install disk and chose "repair existing system" or something like that. Then I typed "rpm -e --nodeps" which removed the existing kernels. Again going from memory I typed "yum install kernel" A new kernel was installed I rebooted and the system ran great.

I have been having sound problems that i can't resolve with Fedora 12 i686. The sound card drivers are not always loaded at bootup. I have posted here several times about this problem and i may have messed things up a bit with various attempts at repairing. I am wondering if removing and reinstalling the kernel as I did at the time of the upgrade might help.

Are the commands I listed correct? It's been a long time. I found the instructions on this forum but can't find them again.

View 2 Replies View Related

Fedora :: Replacing / Upgrading Hard Drive

May 11, 2010

I have a Fedora 12 system running just fine (AMD box w/2 Maxtor 200 GB (PATA) hard drives. I have a spare 320 GB drive (fallout from a Windows box HD upgrade) and would like to replace 1 of the 200 GB drives in the Fedora system. Is there an easy, straightforward way to do this w/out messing up the system?

View 2 Replies View Related

Fedora Networking :: Replacing NetworkManager With Wicd?

Jul 14, 2011

i'm trying to replace default F15 NetworkManager with wicd. i installed wicd and used "chkconfig NetworkManager off" to disable NM but the problem i'm getting is

1. after each reboot i have to start wicd manually from su. any solution to get it loaded automatically?

2. also as i stopped nm, i have no network shortcut in taskbar, anyway wicd icon can be integrated in taskbar?

View 1 Replies View Related

Fedora Networking :: Replacing The Linksys WRT54G Firmware?

Apr 7, 2009

I just installed Cable internet in my apartment. Part of the deal was a free Router (a Belkin). Now I already had a router so now I have an extra, and I remembered something I wanted to try If I ever got an extra router.... I read somewhere, that you can replace the firmware of the Linksys WRT54G Router/Switch with a Linux-based firmware.

I want to try this, but I have some concerns. I'm worried about losing my WPA2 Encryption, and connection problems; I have two Linux laptops (Ubuntu, and Fedora 64 bit) which connect Wirelessly, a desktop w/ 64 Bit Fedora 10, and two Vista Desktops that connect via Ethernet. Will the multiple Operating Systems cause a problem?

View 14 Replies View Related

Fedora Networking :: Replacing Skype With Opensource Software

Jun 3, 2011

With Microsoft acquisition of Skype I was tasked with research into migrating our users off of Skype and onto our own server for audio/video calls and IM communication. I see several SIP servers in F14 repos: OpenSER, OpenSIP, sems, ser and some other packages. What do I need to build my own server on F14 machine to allow our users call each other with video and exchange text IMs?

View 2 Replies View Related

Fedora Installation :: Double Boot 12 With Ubuntu 9.10?

Jan 21, 2010

I have Ububtu installed (9.10) which uses Grub2. How can I double boot Fedora 12 with Ubuntu 9.10?

View 12 Replies View Related

Fedora :: Double Click To Browse Folder?

May 4, 2010

"Browsing" folders is my preferred method compared to "opening" many windows, can Gnome be set up to do this by default with a double click?

View 2 Replies View Related

Fedora :: Double-button Paste In Gnome 3?

May 28, 2011

When I highlight text, then click both mouse buttons, I expect the highlighted text to be retyped where the cursor is. It has always worked that way! But in Fedora 15, the two-finger click just summons the right-clicky menu for a microsecond, then hides it. How can I restore the proper operation of the two-button click in Fedora 15?

View 1 Replies View Related

Fedora :: Double Click On Top Bar And No Maximum Or Restore

Jul 3, 2011

guys when double-clicking the bar where it is close, maximize and minimize, or maxima and it will not restore I do not know what more I moved here I'm not getting to solve this problem anyone have any idea what can this be?

View 2 Replies View Related

Red Hat / Fedora :: End-user Should Double Click The Sh Script And It Should Run?

Feb 27, 2010

I could run the script from terminal. My script invokes some installation and works fine.But my wish is that end-user should double click the sh script and it should run.But how? I got few links - but none was of was quite helpful

View 6 Replies View Related

Ubuntu Installation :: Replacing Fedora 13 With 10.04 On Dual-boot With Win7

Oct 5, 2010

I installed Fedora13 to dualboot w/ my windows 7. I quickly found out that I don't care for fedora. I was referred to Ubuntu, and put Ubuntu 10.04 on in VirtualBox. Lo and behold, I like Ubuntu a WHOLE lot more! So, I promptly went to Disk Manager (in win7) and deleted the Fedora partitions (told you i'm a noob). Of course that was a poor choice, and I was only able to get my computer to boot again by reinstalling f13. neat.

ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

SO what i was thinking is go back to Disk Manager, delete partitions sda 3,4, & 5 (the linux ones), then reboot from the Ubuntu live disk? But I don't know what the sdb1 partition is?

View 3 Replies View Related

Ubuntu Installation :: Replacing Fedora On A Current Dual Boot?

Jun 30, 2011

Currently I have a dual boot Win 7 / Fedora 14 on my Dell Inspiron 1546. After being unable to upgrade to F15 I think it's time to try something different like Ubuntu 11.04. I'd like to format all the Linux partitions, install Ubuntu there and being able to boot to Win 7 from Grub (just like I currently do with Fedora). Can I just go ahead and install like usual, or is there anything else I should consider? Do you think Ubuntu will have a problem finding Win7?

View 6 Replies View Related

Fedora Servers :: Xdmcp Double Login Block?

Jul 22, 2010

How can I manage to avoid double login to a user account in the server by remote users? Is there a way to block it or to hide logged user accounts?

I have two server, one f12, the other f13 (behind a firewalled router) and want them to serve desktops to anybody in the local network. User accounts in both servers are established as username: user1 password: user:1 , username: user2 password: user2 ....... Every remote user should take an available user on server but no multilogin to the same user. Remote users are no adult so they can mistake. That's the problem. On the remote dektop section unmark everyone can see my desktop didnt help.

View 2 Replies View Related

Fedora :: Cups (F13): No Double Sided Printing On HP4650

Sep 2, 2010

Freshly installed F13

Although I can use system-config-printer to set double-sided printing for a network attached HP4650, jobs are printed single-sided. Double-sided printing worked with fc7 with the same printer.

View 3 Replies View Related







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