Why is data repeated in Open Office Calc [closed] - xlsx

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I opened a .xlsx file in open office calc (on my mac) and the data in most of the cells which has numbered list items, is repeated twice.
For example, if a particular cell has numbered list like:
1. something
2. something
3. something
Then this list will be repeated twice like this:
1. something
2. something
3. something
1. something
2. something
3. something
Any idea how to fix this?

This has been driving me crazy. I finally fixed it by saving the file as .xls (97-2004) format in excel prior to opening it in Open Office.

Related

UTF-8 Character edit is not OK in output window [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have configured My putty to accept UTF-8 Character
I have set the linux environmental variable as UTF-8.
export LANG="en_GB.UTF-8"
How ever when I run my program, edit my use input the I have 2 press backspace key twice to delete the single character even though if the environmental values in active state.
Also I tried and I could not able to set the environmental value through my c code .
if (setlocale(LC_ALL, "en_US.UTF-8") == NULL) {
abort();
}
what I have to do to get this problem solved?

What are some common uses for the tcpdump -dd option? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
In reading the man pages for tcpdump, I saw that the -dd arguement would output the dump as a fragment of a C file. In what situations is that useful? I take it this is to quickly include and compile the fragment in a program that will be used to process the data according to code we write ourselves? Does this have its utility with unknown or new protocols? Is there some other common, standing situation in which this is needed? Just curious.
It's useful if you're writing a program using libpcap/WinPcap that would use a filter but that, for whatever reason, wouldn't run pcap_compile() to translate a filter string into BPF machine code; it lets you do the compilation with tcpdump and generate some text that you could use in the initialization of an array of struct bpf_insn (a pointer to which, and a count of elements in which, you'd put in a struct bpf_program).
I'm not sure who would do that, however.

How to write bytes to disc in C? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I want to write a program that formats a disc to a new format (not NTFS or FAT32) and can read from and write to the disc, In order to do this, I have to have a way to write single bytes to a disc (without creating files). How do I do that?
EDIT: I found this. But I'm not sure if using CreateFile() as Eli Bendersky said in the first answer (when organized in order of votes) let's you write one byte (or even one bit) at a time, or do you have to write full sectors at a time.
Answer: Since I can't post an answer the question because it was closed, I will answer it write here. You don't need need API functions to do this. All you need to do is open the disk like you open any other file. Like this:
int hFile;
hFile=open("/dev/sdb",0_RDWR);
You program has to directly talk to the driver as you will be by-passing the file-system.

strip certain character from lines in a textfile [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I have a text file (generated by a script each week) with multiple lines, where I'd like to strip out certain characted, that differ each week. The files can look something like this;
Community S05E05 Geothermal Escapism SD TV.avi
Community S05E02 Introduction to Teaching SD TV.mp4
Supernatural S09E12 Sharp Teeth SD TV.avi
Elementary S02E11 Internal Audit SD TV.mp4
What I want removed is the season/episode numbering, and the quality and filetype. How to do this on a synology machine (busybox linux).
Given the comment you posted about a perl solution, it sounds like this is all you need:
$ awk '{$2="-";NF-=2}1' file
Community - Geothermal Escapism
Community - Introduction to Teaching
Supernatural - Sharp Teeth
Elementary - Internal Audit

how to print a flat file list windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I thought this would be easy to do, but I can't wrap my head arond it.
I need to print a report of all the files in a dir, including sub dirs on a windows server.
Folder01\File01.txt
Folder01\File02.txt
Folder02\File01.txt
etc
Is there an easy way to spit that out to the screen?
Obviously i would pipe to file eventually, but I am still trying to figure out how to get a flat file list of a windows hierarchy printed out
You didn't give a language. There are many options. The simplest is probably dir/b/s in the Windows shell.

Resources