Ubuntu :: How To Add Double Quotation Marks To Contents Of Column Quickly?
Jun 24, 2011
I want to add double quotation marks to contents of an column ,the column contains over 7000 cells with content already,so it would be heavy task to add "double quotation marks"one by one.Is there any way to do that quickly on Libre office?
View 1 Replies
ADVERTISEMENT
Sep 17, 2009
my new system is redhat enterprise 5, i have changed 2 keyboard and used 2 input(fcitx and scim), the same question is that the system can not receive quotation marks,i can not use quotaion key input double quotation marks or single, badly.
View 2 Replies
View Related
May 19, 2010
I tried to move a file from my desktop to another folder; moving it was not allowed, for some reason. Neither was opening it and saving a new copy in the target folder. Would that be because the filename contains double (") quotation marks? Are they not allowed? The filename is Edit of Bob's "Lady Liberty" Article.doc. [Filename not enclosed in quotation marks here, to avoid confusion.]I just changed the double quotation marks to single quotation marks; that solved everything.
View 2 Replies
View Related
Apr 1, 2011
What should the quotation marks be in red?It returns an error:SELECT * FROM blog WHERE id="51586430" blog LIMIT 1; SQL error: unrecognized token: "" Incomplete SQL:
View 3 Replies
View Related
Jul 27, 2011
I'm writing some code to speed up some code writing, basically it produces some code I use in every project. I produce the outputs with fstream filestr;, open a file and write to some data to it. However some code has quote marks that I need to output, however I can't use quote marks.
EG: filestr<<"#include "Header.h""<<endl;I get round this with some awful filestr.put ('"');However I'm sure there must be a straight forward way to do this. Can anyone advise?
View 3 Replies
View Related
Apr 14, 2011
Columns are separated by SPACE. Column 5th is in quotation marks. How can I ask AWK to read everything between quotation marks ?
View 4 Replies
View Related
Oct 11, 2010
I want to put a string, such as the one found in the image, into an array that will later be chopped into individual words and put into another array of individual words found in the initial string. (or, perhaps, I would be able to do that initially, but for now, that is the goal)My question is, how can I do that without using quotation marks?
View 5 Replies
View Related
Oct 20, 2014
what is the purpose of the parameter within single quotation marks and what it does? I am assuming it is a call to pkg-config with those paramaters.
Code: Select allgcc -o gtkprog gtkprog.c `pkg-config --libs --cflags gtk+-2.0`
Using:
Code: Select allpkg-config --libs --cflags gtk+-2.0
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
So, if my logic serves me right, this command parameter is a neat replacement for this litany of libraries to be used in the compilation process.
View 1 Replies
View Related
May 26, 2011
I have a 10x2 matrix, I create said matrix and fill it one column with zeros and the other with ones, now when I print the matrix I get this:
column 1:
0,0,0,0,0,0,0,0,1,1
column 2:
1,1,1,1,1,1,1,1,1,1
The first two rows of the second column are being replaced into the last two rows of the first column, now I even checked in visual studio and it works fine there. A friend tried my code and he gets it even worse:
column 1:
0,0,0,0,1,1,1,1,1,1
column 2:
1,1,1,1,1,1,1,1,1,1
As far as I've seen it must be a problem with GCC, unfortunately I need to have this up and running in GCC no matter what.
[Code].....
View 6 Replies
View Related
Jul 19, 2010
How would i calculate following values.Initial file
10 3
20 4
How would i calculate 3rd column which should be addition of value in 1 and 2nd column.File after calculation
10 3 13
20 4 24
View 14 Replies
View Related
Jul 15, 2010
I have a multicolumn datas, like
a1 b1 ... f1
a2 b2 ... f2
. . ... .
[code]...
I would like to make a file with all these data in one column, like
a1
a2
.
.
[code]....
Can it be done with awk or some other command? Also, is it possible then do add another column in front of this one with numbers of the lines (for every previous column), like
1 a1
2 a2
. .
. .
[code].....
View 14 Replies
View Related
Mar 7, 2010
i use this script to get the time and date of back and fourth transactions for a particular execution id. I use a substr command on the 5th column to to cut the milli seconds off the time value. - otherwise the times would look like 08:30:04.235
grep <executionID> <auditfile> | awk '{ print $1, $2, $3, $4, substr($5,1,8}
FIX -> Mon 3/1/2010 08:30:04
FIX <- Mon 3/1/2010 08:32:36
FIX <- Mon 3/1/2010 08:35:08
[code].....
anyhow - i append two sed commands to further clarify the direction of the message.
awk '{ print $1, $2, $3, $4, substr($5,1,8} | sed -e 's/->/ ->IN/g' | sed -e 's/<-/<-OUT/g'
FIX -> IN Mon 3/1/2010 08:30:04
FIX <- OUT Mon 3/1/2010 08:32:36
[code]....
I tried using an awk gsub () command within the string instead of the two seds, but it did not work:
awk '{ print gsub(/<regex>/, <replace with>,$1), $2, $3, $4, substr($5,1,8}
the sed works ok, but it would be cooler to make the replacement within the awk command:
gsub(/->/,-> IN, $1)
Is there a way where i could replace the value of the $1 column in the awk print string?
View 1 Replies
View Related
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
Apr 10, 2010
I have created a very simple spreadsheet - using gnumeric - with small numbers and simple formulas - the numbers fit easily inside their cells - the formatting all seems in order BEFORE I try to print. When I set up the spreadsheet for printing - and "print preview" the document, I see hash marks in place of numbers in a majority of the cells. When I print the document, the hash marks are printed, in place of the numbers. When I view the document under normal circumstances, for editing - the hash marks are not present. All seems well. I cannot print the spreadsheet without the hash marks (#####) appearing!
View 1 Replies
View Related
Mar 30, 2010
I want to use SED to do the following: In a text file replace any occurrences of the three character string ZZZ with a quotation mark "and. replace all occurrences of a comma with a semi-colon. It is the S/ / / command which is stumping me on the first issue...inparticular how to get the replace string to be quote.
View 9 Replies
View Related
Aug 1, 2010
In the rpm manual, Print 50 hash marks as the package archive is unpacked. Use with -v|--verbose for a nicer display. But actually, there're not enough hash marks when I'm installing a package. About 44 hash marks there...Well, I just want to know where the `50 hash marks' are.
View 4 Replies
View Related
Jan 13, 2010
I have added a Latvian keyboard layout to my Ubuntu 9.10 system (Russian as the system language). I cannot type Latvian letters with diacritical marks. I chose an apostrophe-based keyboard layout, so that I get the letter I need by pressing an apostrophe before. For example, to get ā, I would press 'a.The problem is, when I press ' followed by a letter or space bar, nothing appears on the screen. I continue typing as normal, but each time I press an apostrophe, the next character I press displays nothing on the screen. I have tried installing a Latvian language pack through System -> Administration -> Language Support. It was generally a useful addition. But it did not solve the problem. I still could not type Latvian. After that, I tried removing the Latvian layout from settings and adding it again. It did not help. I tried removing the layout, restarting my computer, and adding the layout back. The problem was not resolved.
I have tried different Lativan layouts (with tilde, with F, and standard). I had the same problem regardless of the layout I used. I browsed dozens of forum threads, and in one of them I found a workaround for this problem. For example, to type �, I hold down Shift and Control together, and while holding them press u0160 (because 0160 is a hex code for � in the character map). The first 0 is not significant, so to save time I type u160. I looked up the hex codes for the letters I need in Applications -> Accessories -> Character Map. In that application, at the bottom of the window, for each letter there is a code U+(four hex digits) e.g. U+012A. I wrote out all the codes I need on a small paper slip and stuck it to my monitor.Entering symbols this way is rather inconvenient. But at least it is possible.How to enter Latvian letters using just a Latvian keyboard layout? Is it a bug I should file? Would be great to find out.
View 4 Replies
View Related
Jun 26, 2011
Maverick Meerkat 10.10Type 'yes' in the terminal without the quote marks and hit enter causes a loop, cpu starts to run high.
View 3 Replies
View Related
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
Jul 23, 2010
Add to your repositories
perl
and manually
"http://download.opensuse.org/repositories/security/SLE_10/"
[code]....
View 3 Replies
View Related
Dec 23, 2010
triangles for pointer position on rulers leave marks this is the bug.
[URL]
this links bug report
[URL] system fedora fedora 14 64 bit and inkscape 0.48.0-1.fc14.3 video card is gforce 7300 gs proprietary driver.
View 14 Replies
View Related
Feb 12, 2010
when i play a song in banshee, or a videos video, i get no sound at all. however, in banshee 1 3 minute song will appear to play in about 20 seconds (the progress bar speeds along), and videos videos play back in ultra-fast motion with no sound. weirdly, when i go to system settings -> multimedia, and click test on the default sound device, the kde login sound plays back fine. this worked when i first installed; does anyone know what's going on here? i think it may be a problem with gstreamer?
View 1 Replies
View Related
Aug 22, 2010
Over the past few weeks I've noticed that my laptop battery is dieing VERY fast. I have no idea what is causing this, and I haven't changed anything.
View 6 Replies
View Related
Sep 11, 2010
I'm running badblocks on some new disk drives just to be safe before my return period expires. I'm running the command
Code: sudo badblocks -b 4096 -p 4 -c 65536 -w -s /dev/sdb1 on an empty partition taking up the entire device. I am getting the following output:
[Code]...
1) When it gets to the "reading and comparing" phase, it seems to complete in <1s. I see other posts where people say this takes them as long as it took to write to the drive. I don't see any mention of this being quick, so I'm just afraid that badblocks is being denied read access or something.. Anyone familiar with this behaviour?
2) Obviously since it is on a sixth pass, badblocks thought that it found new bad blocks on the second pass (or later). When I check SMART, though, the drive has not re-allocated anything (despite having plenty of spares)... Doesn't this seem odd? Is there some reason why the disk would not step in upon a write fail? In fact, I thought a write fail should be transparent... Which makes me wonder if question 1 (above) is causing this...
View 1 Replies
View Related
Oct 13, 2010
I need to view 10.858 text files by this friday to see which ones I need (searching file contents is not a solution), I was wondering if anyone knew any way/program to quickly view them as if they were, for example, images? And, optionally, to be able to save them to a different location from there? It doesn't necessarily have to be for Ubuntu as I also have WinXP and Vista, but it would save me having to transfer those couple of gigabytes to another computer.
View 3 Replies
View Related
Nov 26, 2010
Ubuntu 10.04 - when I logout I get screenful (at least) of messages all with the same format. They disappear too quickly to see what they're about. I've looked at the logs but can't see anything like what I see on the screen. Is there any way I can find them?
View 2 Replies
View Related
Jun 21, 2011
I bought a new Hp Pavillion DV6T. For the most part, everything worked right out of the box with ubuntu, but the computer seems to be heating up really quickly for no reason whatsoever even if I'm not doing anything intensive. Why this is happening. The fan always seems to be running at full blast. I logged onto windows for a minute to see if there was any difference in heating between the two OSs and windows seems to run much cooler and much more quiet. On a side note I'm thinking of returning the HP and buying a dell XPS 15. I hear they are more compatible with ubuntu and are better built.
HP Pavillion DV6t
ATI Radeon 6570 1 GB graphics card
Intel I7 2.0GHZ quad
View 9 Replies
View Related
Jan 26, 2011
We have quite a few SEO clients who require multiple IPs which are all from different class c allocations. (10 - 50 IPs) used for projects lasting weeks to months at a time. Since we don't have connected IPs in ranges we can't use the range scripts but I don't know of a way to easily add a long list of individual IPs. These are CentOS servers, by the way
View 2 Replies
View Related
Jan 29, 2010
Recently, I'm getting an annoying problem: When I scroll quickly the text smears or duplicates itself -- doesn't happen with all applications. I haven't had this problem until I started to use OpenGL compositing with my NVidia card.
View 3 Replies
View Related
Mar 7, 2010
Working with a scientific code that uses more RAM+swap then i generally have (system has 12GB RAM + 24GB swap, but this thing is crazy)It's kind of a one use problem, so I'm not looking to get more RAM, is there a quick way to add more swap space (not on the swap partition, because i have that set at 24GB) so that my system can use it immediately?I don't want to drive up to the office tonight to get this fixed, so a command line setup would work best.
View 7 Replies
View Related