Search Results

Search: Posts Made By: spindoctor
1,830
Posted By spindoctor
Trouble getting aspell to work
Hi: I've tried to get aspell to work to check a latex document I have. I get this error message:

Error: No word lists can be found for the language "en_CA".

Can anyone offer any suggestions? ...
8,440
Posted By spindoctor
@ctsgnb That might work, but again, several of...
@ctsgnb
That might work, but again, several of the files have different text contained in the first part of each document.
How do I write the output from the paste command to a file?
...
8,440
Posted By spindoctor
@Shell_Life: The expected result is this (lines...
@Shell_Life:
The expected result is this (lines only separated at 2 of 26, 3 of 26, etc.:
1 of 26 Documents, Copyright 2010 etc, All Rights Reserved, The Age (Melbourne, Australia), November 27,...
8,440
Posted By spindoctor
awk, string as record separator, transposing rows into columns
I'm working on a different stage of a project that someone helped me address elsewhere in these threads.
The .docs I'm cycling through look roughly like this:

1 of 26 DOCUMENTS


Copyright...
13,001
Posted By spindoctor
Transpose Rows Into Columns
I'm aware there are a lot of resources dedicated to the question of transposing rows and columns, but I'm a total newbie at this and the task appears to be beyond me.
I have 40 text files with...
5,574
Posted By spindoctor
Ultimately, this comes from a series of files...
Ultimately, this comes from a series of files which are one news story each.
A typical news story looks like this:

Document 4 of 6

Ours is a manufacturing province:[Final Edition]
Edmonton...
5,574
Posted By spindoctor
splitting a column into rows
I have a column of data of the format:

EDITORIAL OPED
193987141
193986701
193987451
193986321
STATISTICS
193986351
COLUMN
EDITORIAL OPED
193987171...
5,057
Posted By spindoctor
Hi all, I'm still having problems here and am...
Hi all,
I'm still having problems here and am wondering if anyone can help. I've made progress on some of my other issues and the only issue yet to resolve is splitting lines in a series of .txt...
5,057
Posted By spindoctor
Yeah, this really isn't working. This script will...
Yeah, this really isn't working. This script will work with the files which contain the string

======Document
2 of 8

However, I'm now seeing that many documents I'm getting contain the...
5,057
Posted By spindoctor
OK: now I'm trying this again, and for some...
OK: now I'm trying this again, and for some reason it's failed to work.
Here is the precise script I'm running:
#!/bin/sh
# @(#) s1 Demonstrate sed line split and merge.

set -o nounset...
5,057
Posted By spindoctor
OK, I tried your script with a file named (data1)...
OK, I tried your script with a file named (data1) and it comes close to working. Except the only thing is that the modified text splits into two lines
-------------Do
cument 7 of 9

I...
5,057
Posted By spindoctor
Or rather: could you explain precisely the...
Or rather:
could you explain precisely the syntax in the script to read the data1 file? Is data1 a filename?
5,057
Posted By spindoctor
drl, I don't understand what your data1 file...
drl,
I don't understand what your data1 file is.
Spin
5,057
Posted By spindoctor
And I'm fooling around with the sed string...
And I'm fooling around with the sed string outside of the script, and it's not actually working, period.
s/==Document\n/==\nDocument/
5,057
Posted By spindoctor
Thanks, I'm trying this, but I'm getting the...
Thanks, I'm trying this, but I'm getting the error message

nl: data1: No such file or directory

Simon
5,057
Posted By spindoctor
Splitting a line
I have a series of .txt files, that contain lines of text separated by the following string ====================
In some of the .txt files, the string ends with the word Document, leaving the string...
4,990
Posted By spindoctor
Although, if you have a few minutes, and if you...
Although, if you have a few minutes, and if you feel like it, maybe you could you walk me through the steps so I know what it is that it's doing? Only if you have the time though...
4,990
Posted By spindoctor
perfect. Thanks so much to everybody. I've...
perfect. Thanks so much to everybody. I've learned a lot.
4,990
Posted By spindoctor
That's perfect. Is there a way to dump the...
That's perfect. Is there a way to dump the outfiles into a subdirectory, so they're separate from the original source files?
4,990
Posted By spindoctor
This is very useful. Part of the problem, however...
This is very useful. Part of the problem, however is that the string "=============" also appears in frivolous manners at the top of each file. Thus, using that strictly as the only record separator...
4,990
Posted By spindoctor
And I'm working with bash. I'm not really...
And I'm working with bash. I'm not really familiar with the other shells. I'm new to this, so simplicity is a virtue.
4,990
Posted By spindoctor
Question about SED cutting and renaming
Hi.
I've posted a couple of questions on my little project before, and it's been helpful, but things just keep changing on my end.
Allow me to explain.
I'm getting hundreds of .txt files, each...
6,370
Posted By spindoctor
Thank you Shell-Life, I've fiddled with it...
Thank you Shell-Life, I've fiddled with it enough, I think I'm good to go. In the end, egrep -A works well.
Thanks for everything.
Spin
6,370
Posted By spindoctor
They have backslashes when viewed through unix;...
They have backslashes when viewed through unix; In the most recent example, I had cut and pasted them from a regular text editor and the backslashes don't appear.
6,370
Posted By spindoctor
Fair Enough shell life: Some of the files are...
Fair Enough shell life:
Some of the files are formatted as follows (this is the nice, unproblematic way)



The more problematic way is:
Showing results 1 to 25 of 36

 
All times are GMT -4. The time now is 05:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy