Ubuntu :: Software Substitute For The Microsoft Expressions?
Jan 14, 2011Is there any software substitute for the Microsoft Expressions ? Recommendations ?
View 3 RepliesIs there any software substitute for the Microsoft Expressions ? Recommendations ?
View 3 RepliesI want to use regular expressions and sed to remove html tags from a text file.
View 2 Replies View RelatedI am setting up an ubuntu server, and i was wondering if there was a program that i could apt-get that would manage my Domain names and create directories and FTP and all that good stuff like IIS does in windows. While i am fully capable of editing the files and working the server through the terminal, noone else in my office is and if we are to switch to a linux server they will need to be able to work it.
View 9 Replies View Relatedhow a way that I can edit the metadata tags on some MP3s using regex?
I've got almost 100 MP3, all named "01 - <song title>," "02 - <song title>," etc., and I, understandably, don't want to edit them all by hand.
Running "s/d{2} - //g" would be so much easier.
how to use grep with an expression that is constantly changing... basically this is what I am trying to do:
Code: watch "mpstat -P ALL | grep -e '`date +%r`'" which, should show me my CPU usage updated every couple seconds. The grep is being used to omit lines that aren't needed (all the useful lines start with the current time.) Problem is, it seems to execute the 'date +%r' command once.
I would like grep to execute the date command every time the watch command updates.
EDIT: I've found a workaround by putting the
Code: mpstat -P ALL | grep -e "`date +%r`" All in a shell file (that I called cpustat.sh), and then executing watch ./cpustat.sh
Would still like to know if there is an actual solution without having to create a seperate file (and preferably in one line). I have tried using a function to do the mpstat and grep part, but apparently watch doesn't play nice with functions
Is there a substitute for Intrepid repos? I'm not able to access a few servers and don't want to upgrade the OS on this box.
Code:
Since the new Unity in Ubuntu 11.04 doesn't work with applets, like GNOME, I've lost an useful applet to choose the operating clock of my CPU as well as power profiles (Performance, Conservative, On Demand etc.).
I've looked into Ubuntu Software Center but couldn't find anything similar.
im trying to get sed to read through a txt document that contains html and cant get it to copy over my code looks like Code: sed -n '/[width=468 height=60 border=0 /></a></center><hr>]/,/[<br clear=left><hr>]/p' 1.txt > 2.txt This is the code that seemed to have the best chance of working but still all it does is copy the whole txt document over instead of between these 2 expressions
View 3 Replies View RelatedHow can I use grep expressions so that i can find strings like the ones bellow:
New York, NY
Virginia, VA
Oregon, OR
As you can see each city starts with capital letter then it follows up with a comma, and then with the Abbreviation of the city. I used :
Code: grep -w '[A-Z].*[a-z][,][' '][A-Z][A-Z]' filename But i get no results.
I have gone through many threads but most of them have been dead for many time and I think there would have been a few advances in the Ubuntu software domain, so maybe a new downloader is up which manages downloads in a better way.Well, those who have used Internet Download Manager know that it is one of the best ones offered for Windows. It has many useful functions available in one single domain.
- It integrates to all browsers damn well, like charm.
- It can manage rapidshare, megaupload, hotfile and similar file hosting services very smoothly.
- It is a multi-threaded downloader which means that before starting to download file it breaks it up in many small pieces, and then downloads all fragments side by side, making the download very very fast, even on slower connections.
- It can also do very well with the websites which do not permit multithreaded downloading from their servers.
- It can take on video downloads from any page on the web which has a streaming video.
- It is very stable (if bought legitimately, which is not true in most cases ). But quite stable in even when not registered or cracked.
- Above all, it has a smart gui interface which provides interactive operations on downloaded files.
I have used many downloaders for Ubuntu and there has been some problem with each one. Some have a nice CLI structure but not GUI. Some of them are not multi-threaded. Some are multithreaded but do not allow pausing and continuing downloads (which actually does not satisfy the very definition of download managers). I haven't seen a single download manager which is GUI, multithreaded and well integrated to browsers all at the same time.What I want to know is, do my friends here at Ubuntu galaxy want to point out a real shiny star here which would make me forget the damn propriety software? Or if such a downloader hasn't been built yet, why not let's build one... Shouldn't be too hard especially if we have a model example (IDM 5.18 for Windows) in front of us... Well the algorithm must be simple, get address, verify the existence of file, break apart into several pieces and start downloading. I don't know how to implement this algorithm yet, but I am a quick learner and if a few expert programmers join me, we can do something that would remove one complain for most Ubuntu users.
I've been fiddling with gnome3 quite a bit, several different variants, and something I've yet to find a solution for is a way to "inhibit" the screensaver and/or sleep features if watching a movie or such.In gnome2 I'd always just add 'inhibit-applet' to the panel, but I've so far found no substitute in gnome3.
View 1 Replies View RelatedIs it possible to point to a two-digit interval with regular expressions?
Background:
I'm using mplayer to watch tv shows, that often have episode numbers in their names. I know how to easily add several files to the playlist by using brackets, by typing something like
$ mplayer tv/South.Park.S1.E0[1-5]*avi
Is there a way to point to files 06-13 in a single expression?
I would like to install GD package on my ubuntu , but as my ubuntu is too old that many library is required to upgrade when install GD , is there other package is substitute of the PHP-GD ?
View 2 Replies View RelatedI have the following file:
Code:
1 line
...
49 test test=AA:AA:AA:AA:AA=0
I need to substitute on the line number 49, all text until =. I have used the following, but with no actual result.
sed -re '49s/^.+=//' file
and
sed -e '49s/.*[=]//' file
I'm writing a program that works with text files, and I'm trying to create some filters with grep. I have various questions here, so I'll number them for clarity.
1) First of all, I'd like to know what wc -w is actually returning. The word count is less than what gedit is counting in Document Statistics, so obviously gedit is counting something (like newlines) that wc -w is not
2) Secondly, I was wondering if there was a way to grep x number of words. I'm looking for something like the -m option, but returning a certain number of words instead of lines. For example, to find the first 2000 words, do something like grep -someoption 2000 ".*" or using {1,2000}.
3) Finally, I'm trying to filter out headers and footers of a text file but having no luck. The text files are Project Gutenberg files, so they have standardized headers and footers. Here's an example: [URL]...
The header starts with "The Project Gutenberg EBook of" and ends with the line containing "START OF THIS PROJECT GUTENBERG EBOOK" The footers begin with: "End of the Project Gutenberg EBook of" My problem is, grep can find:
[Code]...
I've began to develop with C++ (Eclipse+Qt) and the first problem I see is that there is not good functions for manipulating strings. if there is a library for manipulating strings with regular expressions?
View 1 Replies View Relatedi am trying to create an exclude regular expression for my build.xml. The problem is, that i am trying to find some info on which REs are acceptable/valid for ant... Is ant using standard regular expressions? POSIX ones? Since it is a java-based tool, the "Java REs" are probably valid. I am a little bit confused. If somebody can help me out with the different RE standards, i would be most obliged.
View 1 Replies View RelatedI've been loosely following this:http://norvig.com/lispy.htmlAnd I have a problem: the parsing function throws an array out of bounds exception. I thought that maybe I'm doing it wrong, so I copy and pasted the code from the page, and still the same error
View 2 Replies View RelatedUsing the regex.h functions, how do you:
1) get the matched strings?
2) get the strings that matched sub-expressions?
Gidday, I'm puzzled as to why this works:
Code:
find /Data/ -type f -iname "*7pm*"
But this doesn't:
Code:
find /Data/ -type f -regex *7[Pp][Mm]*
I've tried MANY variations, but I'm getting no error messages, just no returns, and yet the first find, will find the sorts of files I'm looking for. I realise a win is a win, but I'm of the understanding that the -regex switch allows for some really complex use of regular expressions - but I can't even get a very simple one to work,
Does anyone know any software or tricks how slow down cpu. The aplet on top panel whose control cpu freq allow set only 2Ghz. On windows to EPU-Six i can for example set 1,8Ghz and automaticly vcore drop to 0,967V. On ubuntu the lower value is 2Ghz and 1,1V. I have Asus P5Q PRO on P45 chipset and Core 2 Duo E8400 on Ubuntu 9.10
View 7 Replies View RelatedI have been trying to get Cinelerra, but keep getting errors like bash and stuff like that. Is there a good substitute video editor that is on par with Cinelerra? I had it before and like it, and would like something that is as straight forward to use as that.
View 2 Replies View RelatedI have been looking into netcasting/podcasting and have been shopping around for multi-video switching programs. I like VidBlaster (example: [url]), however it seems that it is not currently supported by any Linux O/S.
I find mostly tips on how to use a cracked key. This is NOT what I'm looking for. If there is a way to make VidBlaster work on my system, great. If there is an open-source substitute.
What are the possible Ubuntu/Linux substitute software applications for Itunes program that is used by most M/S windows computer users. It is my understanding that "maybe", Itunes can be made to work under Ubuntu by going thru a process that resembles reinventing the wheel - am not interested in doing that. Just want an application that does basically the same thing that Itunes does under Windows but does it under Ubuntu. Looking for something that I can point potential Ubuntu converts to, when they ask how do I continue to use Itunes.
View 9 Replies View RelatedI have the large file (textfile) there are word:
code-007100
...
code-007199
How to substitute those all words, so it will change all instances to:
code-007200
...
code-007299
What is the substitute for RHEL repository? I know that we can use cent-OS/ fedora repository, but can someone please tell me what exactly is required in the yum.repo file. My computer details are as mentioned.
$uname -a
Linux example.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux[/B]
I have tried making this substitution using both of
Code:
Sed operates with no comment but does nothing. awk objects to the variables content because they include the occasional non-breaking-space. The presence of these is essential so that bash will properly distribute the content of each line to an array.
The content of "orc" and "orch" is as follows (the non-breaking-spaces show as *).
Code:
I tried to use the command:
sed -i ''$line_number',/port/s/port/portMARKED/' file
to substitute the word "port" by the word "portMARKED" at the specific line that is saved in "line_number". The substitution happens, but it is copying my line twice... and I have no idea why... I need to make a single substitution of one word for another at a certain line in my text file. Would somebody know how I could do that?
Assume that i a having the following three lines in an executable file
#/bin/bash
a=Tue
Tue=1
When i give echo $a the value should be 1, how to do this.
I have this PHP Program I have been hobbying for years. Started in old PHP3 early PHP4. So with the newer PHP, things are starting to break! I have this string:
session_is_registered('UserID')
And I need to convert to this:
isset($_SESSION['UserID'])
in more than 200 scripts in my directory. I have been toying with perl (in a copy of the dir of course in case I really screw things over, lol) but am not gettig too far. The new code needs to swap ( ) for [ ] and i'm just all hung up! I am getting lost in Perl, I have this, but it does not substitute so I am missing something:
perl -i.bak -pe "s/session_is_registered('UserID')/isset(\$_SESSION['UserID'])/g" *.php