Search Results

Search: Posts Made By: monstrousturtle
3,043
Posted By monstrousturtle
Sliding window for string manipulation
I have a sting of "0"s and "1"s that I need to analyze. I need to look at each "1" and determine if it is in a neighborhood that is enriched for "1"s which means it is one of at least three "1"s in a...
12,658
Posted By monstrousturtle
Sorry, I had a feeling that the code was fine and...
Sorry, I had a feeling that the code was fine and it was something I was doing on my computer (too many other processes running or something like that).

The code makes a reference list in the case...
12,658
Posted By monstrousturtle
Fork: Resource Temporarily Unavailable
I wrote a script that works most of the time but gave me

fork: resource temporarily unavailable

some of the time. I restarted my computer and now it runs fine but googling "fork: resource...
3,512
Posted By monstrousturtle
Awesome. Thanks. That is much prettier than ...
Awesome. Thanks. That is much prettier than

awk ' BEGIN {FS=""} {if ($4 >= "A" && $4 <= "Z") print > $4".txt"; else if ($4 >= "a" && $4 <= "z") print > $4$4".txt"} ' inputfile.txt

though this...
3,512
Posted By monstrousturtle
Thanks. I did not realize. It looks like I will...
Thanks. I did not realize. It looks like I will have to find a different way around.
I could potentially give lowercase files a name like aa.txt but implementing the following code gives me syntax...
3,512
Posted By monstrousturtle
I am working on cygwin on Windows. You...
I am working on cygwin on Windows. You successfully get both a.txt and A.txt files? I just get a.txt and it contains everything.
3,512
Posted By monstrousturtle
Case sensitive awk file split
Hello all,
This is my first thread so please let me know if I am doing anything wrong or not following etiquette.

I have an input file that looks like
123a12345
345a12445
245a66792
245A12345...
Showing results 1 to 7 of 7

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