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
ADVERTISEMENT
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
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
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
View Related
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
Nov 14, 2010
i've got the following packages installed on a fresh fc14 installation :
cronie-1.4.5-2.fc14.i686
cronie-anacron-1.4.5-2.fc14.i686
crontabs-1.11-1.20101109git.fc14.noarch
[code]....
View 1 Replies
View Related
Feb 8, 2011
Code for insertion of data:
Code:
#include <map>
#include <iostream>
int main ()
[code]....
I don't know how to fetch the data from the nested map here.
View 5 Replies
View Related
Dec 13, 2010
Following is the declaration:
Code:
std :: map <QString, std :: vector <std :: pair <QString, QString> > > configFileDataVector; How should I insert data in it? All the examples which I have looked up in Google are of plain maps!
I tried this, but it failed:
[Code]...
View 4 Replies
View Related
Sep 13, 2010
I had a portable apps version of Thunderbird (windows) that runs off a thumb drive and wanted to take the settings and transfer them to my Thunderbird that's on my Linux computer.
This is what I did:
First, I installed thunderbird on my Ubuntu 10.04 Linux box and opened it, and closed it (so that it would create the /home/<username>/.thunderbird folder in the user account).
Then, I renamed the linux /home/<username>/.thunderbird folder to .thunderbird_ORIGINAL
Then, I created a new /home/<username>/.thunderbird folder
Then, I took the windows e:ThunderbirdPortableDataprofile folder and copied it to the /home/<username>/.thunderbird folder.
Then, I looked into the /home/<username>/.thunderbird_ORIGINAL folder and wrote down the name of the folder with the ".default" extension.
Then, I renamed the profile folder (that came from the windows e:ThunderbirdPortableData folder) "<name-I-wrote-down>.default".
And then, I copied the profiles.ini folder from /home/<username>/.thunderbird_ORIGINAL to the /home/<username>/.thunderbird folder.
I opened up Thunderbird in Linux and everything seems fine! (I'll definitely be keeping a backup just in case)
My question is: is this fine and dandy, or a recipe for disaster?
View 2 Replies
View Related
Feb 18, 2010
I receive a lot of emails daily, and with the ever-growing amount of maildirs I'm in need to structure/optimize the browsing in mutt. My maildirs follow this naming scheme: .domain.category.sub_category
My goal is to break domain, category and sub_category into nested levels when browsing through the mailboxes. This is sort of achieved through the use of imap. But I stumble upon a few snags, so my questions are:
Is this nested mailboxes view possible by directly accessing ~/Mail and not using IMAP?
E.g. set folder="~/Mail" and set spoolfile="~/Mail/.INBOX"
When I start mutt I'm presented with all mailboxes available, which is what I want to get away from. I want to get directed directly into my default/main inbox like I do when accessing ~/Mail directly. How?
When hitting c (a defined macro, see configuration below) I again get presented with all the mailboxes available, and not the mailboxes at the current browsing level, e.g. mailboxes containing a specific category. To get this view I need to hit c+TAB. I've solved this by adding a <tab> to the c macro's. When finally getting mutt to present me mailboxes in nested levels they are only enumerated and not annotated with N, indicating new mail, or even better, total number of new mails in or under a folder. I know it's possible to define format on the different views, but is there one for this view? If so, which?
My mutt configuration:
set autoedit
set edit_headers
set reverse_name
set from='blapp'
set realname='Blapp'
set use_from .....
# Automatic viewing of html mail, but always prefer text/plain
set implicit_autoview
alternative_order text/plain text/html
View 1 Replies
View Related
Jun 3, 2010
How to get a list of all the subfolders with a specific name
e.g. all the folders which their name contains 'NAME' code...
but this won't give me a unique list (if the folder has subfolders it gets listed multiple times)
View 1 Replies
View Related
Jun 4, 2011
i was wondering what's the fastest way to access a deeply nested folder.
is there a way to 'cd' to the most nested folder given that i know the folder name?
View 4 Replies
View Related
Jan 21, 2010
We can create normal raid levels in centos using mdadm, but how can we create nested raid levels ( example raid 1+0 Raid 0+1).
View 2 Replies
View Related
Mar 11, 2010
I having a nested structures which are referenced with pointer variables :
example :
typedef struct {
int a ;
char *b ;
int *c ;
}EXP2 ;
[Code]...
While trying to access the value of sv.exp2->a it throws segmentation fault error.How to acess this variable ??
View 3 Replies
View Related
Sep 20, 2010
I've only gone into the first case statement of the first switch and I am trying to get out of it but the break statement I added doesn't seem to have any effect and it just goes on to the next case instead of exiting the switch.
Code:
import java.util.*;
import javax.swing.*;
public class A2 {
public static void main(String[] args) {
double gross_Pay;
int payment_Method;
final double salary_Pay = 1000.00;
final double hourly_Pay = 25.00;
double overtime1 = 20.00;
double overtime2 = 30.00; .....
View 2 Replies
View Related
Aug 26, 2010
Thanks to Lucid not working properly on i845, i855 and other 8xx chips, had to re-install Karmic on my mum's computer.I saved all the data from her old install and I ve managed to get all her old emails from thunderbird, but I cant import her address book.In Thunderbird/tools/import/addressbooks it only allows importing of LDIF, .tab, .csv and .txt files, but I cant find any of these files in any of the Thunderbird, .Thunderbird, Mozilla-Thunderbird or Mozilla folders in Home folder or anywhere, all I can find is "abook.mab" which IS supposed to be her address book, but when I try and import it the entries are blank and/or indecipherable (prob cos not a compatible file type).
Its one of those "simple" things to do, thats taken hours and hours of time, but that I cant actually find out how to do.
View 1 Replies
View Related
Nov 9, 2010
Just installed latest Ubuntu (dual boot with XP until settled in) and also installed Evolution as default mail client. All works well. But, I need to import my nested, hierarchical mail folders (over 200) from Thunderbird on XP in to Evolution. Is there any speedier and less laborious way than importing single mail folders and then having to re-arrange them all?
View 2 Replies
View Related
May 30, 2010
Am new in bash scripting, presently I have 2 files and i need to create a file reading from these 2 files. I was trying to work with 2 for loops, but I can see like once its executing 1st outer loop then all inner loop, then next outer loop+ all inner loop. How can i get result like 1 outer loop, 1 inner loop then 2 outer loop,2 inner loop etc. Below is my prog
#!/bin/bash
rm d
for i in `cat a`
do
echo "dn:$i >> d
for j in `cat b`
[Code]...
View 6 Replies
View Related
Jan 7, 2011
I need to search through HTML files to count the number of <li> tags nested within the first <ul> tag:
Code:
<ul>
<li>text 1</li>
<li>text 2</li>
</ul>
...
<ul>
[Code]...
Unfortunately, the second grep is greedy swallowing everything up to the last </ul> close tag. (The desired result is 2.) Speed is an issue as I will be searching through 350,000 files.
View 14 Replies
View Related
Jun 18, 2011
the compiler (g++ 4.4.5) does not recognize PRE as a type in the following code:
Code:
enum mode {PRE, IN, POST};
class tree
[code]...
View 9 Replies
View Related
Jul 13, 2010
I'm using ubuntu server 10.04. I need to create a second network to do some testing. Here's what it looks like so far: WAN > x.x.x.x/9 > router > 192.168.1.0/24 > LAN
I need to do this: WAN > x.x.x.x/9 > router > 192.168.1.0/24 > LAN > ubuntu server (LAMP, dhcp, dns via eth1) [eth0 192.168.1.138] > ubuntu server [eth1 10.0.0.1] The two networks should be transparent to one another. I've got everything working, except routing. Here is ifconfig:
[Code]...
View 5 Replies
View Related
May 2, 2011
I'm trying to remember how to use the output of a nested Bash builtin call. So `which prog` gives me the path to the program, i'm interested in. Then I would like to get the directory path leading to that program and plug it into 'cd', so i end up in the directory containing the program.
View 5 Replies
View Related
Jun 1, 2011
I'm in a nested shell trying to use disown to re-root myself as well as a child. Looks like this:
Code:
# echo $$
1234
# disown 1234
disown: job not found: 1234
# disown $$
disown: job not found: 1234
# pgrep mychild
2222
# disown 2222
disown: job not found: 2222
This is in zsh. The goal is to have process 1 (the root of all processes) to become the parent.
View 3 Replies
View Related
May 22, 2010
Code:
tupe=("File",("Open","Open a file"),"Edit",("Cut","Cut a file"),("Paste","Paste a file"),"About",("About","About the program"))
menutitle=""
menupos=0
for items in tupe:
if type(items)==str:
[Code]...
I'm trying to understand how to make "File" be the parent information for "Open","Open a file" and "Edit" to be the parent of "Cut, Cut a file" and "Paste", "paste a file". Does anyone have a suggestion for accessing the a nested tuple in this manner? The above code does not quite do what I want it to. The above code is for visual purposes, but I'm learning how to refactor for wx.python.
View 3 Replies
View Related
Feb 2, 2011
I work in a simulations environment. I'm trying to write a bash script that will read fields from a .csv file into an array, the first field being an identifiyng number and the second field being a corresponding url. There are about 1600 of these number/url combinations in the .csv file that i'm reading from. Once that is done i want it to parse a text file and match the number, when it has a match i want it to enter the corresponding url into a particular line in the text file. The script I have written (with the help of the people on this forum a while back) does this well, but now I have a lot more data to parse. I think the script itself is explanatory enough to see what i'm doing. What i would like to do is cut it down to one while loop nested inside another loop so that I don't have 1600 or so elif statements. I can't figure out how to increment the output of the array. for instance, the first cycle would find the number that matches ${record1[2]} and input the url stored in ${record1[3]}. the next cycle would match ${record1[4]} and input the url in ${record1[5]}, and so on, does that make sense? The code is below and a sample .csv and text file are attached.
[Code]...
View 14 Replies
View Related
Feb 17, 2011
I was going to file a bug to findutils on gnu.org when I saw a notice that asked me whether I knew the difference between these two commands:find -name *.c and find -name "*.c".I use find command quite often but I don't think these two have any difference.
View 2 Replies
View Related
Mar 8, 2010
I exported a spreadsheet file into cvs format.
The cvs file is formatted this way
field1,field2,field3,..etc
I want it to be in a Quote delimited format like so
"field1","field2","field3",..etc
View 2 Replies
View Related
Jul 27, 2011
I have the following command, which works fine:ll /backup/PROD |grep PROD_ |awk -F" " '{print "catalog backuppiece /backup/PROD/"$9";"}'The output is:catalog backuppiece /backup/PROD/PROD_29mi42vn_1_1;BUT... I want single quotes in the result. One before /back.. and one before the ;Like this:catalog backuppiece '/backup/PROD/PROD_29mi42vn_1_1';How do I do that? I tried using ' but it does not work.The following command works, but I get an error message, which prevents me from using the command in a bash file:ll /backup/PROD |grep PROD_ |awk -F" " '{print "catalog backuppiece '''/backup/PROD/"$9"''';"}'awk: warning: escape sequence `'' treated as plain `''
View 3 Replies
View Related
Dec 12, 2009
I converted my programming project over to autotools, which gives me a config.h file with all the cool definitions, like these ones:
Code:
/* Location of data files. */
#define DATADIR "/usr/local/share"
/* Define to the full name of this package. */
#define PACKAGE_NAME "lusus"
And naturally I think this is cool because then I can hardcore these into the binary. To my dismay, however, I discovered that the pre-processor does not do the text-substitution if the macro name is inside another quoted string.
Code:
// Prints out "/usr/local/share/lusus"
std::cout << DATADIR << "/" << PACKAGE_NAME << "
";
[code]....
This seems lame, because then this doesn't work:
Code:
CL_Image leaves_corner_tl(gc, "DATADIR/PACKAGE_NAME/img/leaves_corner_tl.png");
So, am I literally going to have to strcat DATADIR/PACKAGE with the other text every time I want to prefix DATADIR/PACKAGE_NAME onto another string?
View 2 Replies
View Related
Aug 12, 2011
nested loop in ''Bash-Scripting in Linux'' ?What's wrong with my code:
for x in `seq 0.75 0.01 0.95`
do
for y in `seq 0.20 0.01 0.40`
[code]....
View 1 Replies
View Related