Search Results

Search: Posts Made By: bobylapointe
1,616
Posted By bobylapointe
Yes, the logic, thanks vbe. I've got some reading...
Yes, the logic, thanks vbe. I've got some reading to do now :)

---------- Post updated at 06:40 AM ---------- Previous update was at 06:31 AM ----------

ping -c `shuf -n 1 TIMES.txt` `shuf -n 1...
1,616
Posted By bobylapointe
In the stupid mind of mine, I thought that using...
In the stupid mind of mine, I thought that using $IP should execute `shuf -n 1 IP.txt` each time $IP is used...
1,616
Posted By bobylapointe
Loop and variable not exactly variable: what's wrong
Hello guys,

This truly is a newbie question. I'm trying to make a loop to execute simultaneous commands indefinitely while using variable. Here is how my mess looks like (this is just an example):...
3,954
Posted By bobylapointe
I'm a newbie myself, and this is probably not the...
I'm a newbie myself, and this is probably not the best way.. but you could do, for instance:

cat yourfile yourfile > newfile (to print every line in yourfile twice; cat yourfile yourfile yourfile...
2,465
Posted By bobylapointe
Thank you Chubler, it's working flawlessly !
Thank you Chubler, it's working flawlessly !
2,465
Posted By bobylapointe
I'm sorry I wasn't really clear in my first post....
I'm sorry I wasn't really clear in my first post. In more concrete words, I'm trying to see with what word the word of my choice is most commonly associated with - on its left, that is to say: word...
2,465
Posted By bobylapointe
Linguistic project: extract co-occurrences from text corpus
Hello guys,

I've got a big corpus (a huge text file in which words are separated by one or several spaces). I would like to know if there is a simple way - using awk for instance - to extract any...
5,663
Posted By bobylapointe
Thank you guys for your answers !
Thank you guys for your answers !
5,663
Posted By bobylapointe
Compare two text files
Hello guys,

I have file1 and file2, two text files containing various lines.
I'm trying to find a way to compare file1 and file2:

If the first 7 characters of a line in file2 match the first 7...
4,502
Posted By bobylapointe
Thank you sir, it's working perfectly !
Thank you sir, it's working perfectly !
4,502
Posted By bobylapointe
Extract expressions between two strings in html file
Hello guys,

I'm trying to extract all the expressions between the following tags: <b></b> from a HTML file.
This is how it looks: big lines containing several dozens expressions (made of...
5,871
Posted By bobylapointe
Thanks bakunin, it definitely helped. The syntax...
Thanks bakunin, it definitely helped. The syntax errors you pointed out were errors indeed. That's pretty much what made the whole thing not work as expected.


It's still a bit slow, but I can...
5,871
Posted By bobylapointe
A faster equivalent for this sed command
Hello guys,

I'm cleaning out big XML files (we're talking about 1GB at least), most of them contain words written in a non-latin alphabet.

The command I'm using is so slow it's not even funny:...
3,864
Posted By bobylapointe
It's a wordlist. utf8. One word per line. ...
It's a wordlist. utf8.
One word per line.

---------- Post updated at 11:32 AM ---------- Previous update was at 11:23 AM ----------

Somebody helped me out (Santhosh). I'm going to copy paste...
3,864
Posted By bobylapointe
Thank you. It's working well: it tells me...
Thank you. It's working well: it tells me precisely at which line the script stopped.
But how do you start reading from this very line though?
3,864
Posted By bobylapointe
Write $line number into textfile and read from line number
Hello everyone,

I don't really know anything about scripting, but I have to manage to make this script, out of necessity.

#!/bin/bash
while read -r line; do #I'm reading from a big wordlist...
Showing results 1 to 16 of 16

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