Does anybody know a good option for a Skype based solution that works on Linux? I have a real problem with the current Linux version as it is a crappy, buggy and downgraded version of the Windows equivalent.
I have a data file with the following format 0 i j # # # # with other random lines of text to be filtered out.The following script works when there aren't many #s, but it shuffles long lists of data.
sometimes there are one, sometime there are two exchanges in this log file. the 100= is the stock exchange- if there are two, they are seperated by a comma. i understand how to escape a comma in a regex, but I am having trouble with combining it.
I have a ton of files that are timestamped directories. These all look like2011-06-24_13.53.36 // a directory name for june 24th, 1:53:36 pmI have thousands of these directories. I want to do operations on some of the older ones. Let's say I give it a string for date time that matches that exact format, like i'll give it2011-06-25_00.00.00 // june 25th, 12amI want to find all the directories BEFORE my time. So if i give the string for 12am on june 25th, i want to find all the directories before then.If not i can find EVERY directory i have like this and then filter after wards. The created/modified dates are not tied to the actual timestamp im looking for (that would make this easier)
i am trying to find all 3 and 4-character length words in my file (which is huge and has alot of entries in it, a big fat wordlist!).My attempt with this regular expression (which I thought should work, found something on length search here: [URL]
cat sorted_noapostrophe.txt| grep '.{3,4}'
but it returns no results? Also to find any words starting with 'f' which are between 3 and 5 characters (inclusive) long, how can this be done?
I'm fairly comfortable with emacs but I can't seem to find how to do this. I deal with a lot of text files and find myself performing a lot of regular expression replacements to correct the formatting of the text -- or to extract certain tidbits of data from large ugly-looking files.
I know how to perform a regular expression replacement in one buffer at a time. But how do you perform a regular expression search and replace across all open buffers? I have found a method to perform a regex search and replace across a directory by marking files but I need to do it in the open buffers.
I use the Actions feature of KDE's Klipper utility to run certain commands when I copy something into the clipboard that matches a particular regular expression. Unfortunately, I have to turn on Enable Clipboard Actions and select the command from a menu every time I copy something that I want to run the command on. I'd like to have that command run automatically instead.
You'd think this was possible, as there is an automatic checkbox in the action settings dialog box:
Unfortunately, that appears to do nothing. The documentation included with Klipper does not indicate what that checkbox is supposed to do.
Is it possible to configure Klipper to run a command automatically if the contents of the clipboard matches a regular expression? If not, is there another way to accomplish this?
I have the following command which finds all files that have changed in the last day and lists them. How can I exclude hidden files like .bash_history?
hJust installed brand new Centos 5.6 and skype, according to centos wiki (http://wiki.centos.org/HowTos/Skype) Getting these errors: skype: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by skype)
I recently bought a IOgear USB bluetooth adapter and a Sony DRBT101/BLK bluetooth headphones to use with my computer.Whenever I try to make a call using these headphones with skype, I can speak for say 10 seconds and then the headset disconnects completely from the system. I then have to reconnect the headset by switching it off and on. I do not have this problem listening to music using A2DP. It works fine with my mobile phone.When I change the profile to Telephony Duplex (HSP/HFP), it shows up as hands free, I thought it should be headset in blueman manager. My friend uses Plantronics headset with is Dell laptop with built in bluetooth and he says his comes up as headset not hands free. Could this be causing the problem?
I just recently purchased a 3g dongle for my netbook. Everything seems to be working fine until I discovered this strange problem. I cant seem to text via skype, it doesnt go through. I testet the skype test call service and voice works fine, audio and mic. I have tried to google and search forums but no luck. I have before used skype on my netbook with my cellphone as a hot spot and it worked without problem but it doesnt have the same provider - different sim cards in phone and dongle.
So I just recently downloaded Regex-PreSuf. I believe it downloaded correctly, and also install correctly (did the following):
> downloaded it > gzipped > tar'ed > perl Makefile.PL > make > make test > make install
This is the file listing after the make install completed:
[Code]....
The output from the make, and make install gave the All OK, but there is no documentation with it that shows how to use it? Does anyone know what you have to do to use it? From what I read, it is used to enter a string and it gives you the regex that matches that string exactly? This is what I tried, from within the directory and its the output:
I'm trying to craft a tricky regex using Sed. I'm trying to clean up some code which has bazillions of lines over 80 characters in length, mainly because of these end-of-line comments. I want to change them to a nicer format. I've put the code on Pastebin because the formatting is better: [URL]. Bear in mind those are tabs, not spaces.
This makes me feel like a total n00b but I'm trying to figure out how to replace an XML close tag (such as </pagenum> ) with the same XML close tag followed by yet another close tag. (I want every occurrence of '</pagenum>' to be replaced with '</pagenum></p>').
I've tried using something like this: Code: sed 's/</pagenum>/</pagenum></p>/' old.xml new.xml What am I missing? Please forgive me. I'm diving head first into RegEx.
In a bash-script, only the case if a regular expression does not match is relevant.herefore I used the exclamation mark !. But where to place it?
These two work fine, but are they equivalent? Code: if ! [[ $abc =~ $pattern ]]; then or Code: if [[ ! $abc =~ $pattern ]]; then Where is the ! placed more correct?
I'm just starting out with bash scripting (yesterday, really). I want to add a file to each user's home directory, pretty simple really, and send it out via our Apple Remote Desktop system to our Macs. Here is my script: Code: #!/bin/bash
for i in $(ls -d /Users/*) doif [ -e $i/.tcshrc ] thenecho "$i/.tcshrc exists!"elseecho "$i/.tcshrc does not exist"
I'm using bash scripting to find any file that matches a path governed by the following regular expression:
"(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/" to match files like: monthly.9/home/user1/.mailbox/l23131564 nightly.15/home/user2/.mailbox/cur/6546213
Today I moved my Slackware64-current installations to multilib. I blacklisted the gcc and glib packages in the blacklist-file for slackpkg. In the blacklistfile they say:
Code: # Now we can blacklist using regular expressions. # This one will blacklist all SBo packages: #[0-9]+_SBo I have blacklisted
At my work i have a legacy web system that tells the id of documents based on some given variables. this information can be used in another system to retrieve the needed file.
I am trying to automate this, and have managed to feed the variables and download the correct page using wget. The result is a result.php page with a lot of embedded info.
The information i am looking for is enclosed in single quotes on a line like this:
The information i want is the 1234 part.
I thought i could do like this from bash:
But I always get an empty string back... any idea what i am doing wrong?