OpenSUSE :: Look Command Fails Look /usr/share/dict/words - No Such File
Dec 20, 2009How can I install the dict file to look works?
I am running SUSE 11.1
Here is the error:
How can I install the dict file to look works?
I am running SUSE 11.1
Here is the error:
i want to remove words "Max" and "constrained" in a file given below:
Max 0.003745 constrained
Max 0.004549 constrained
Max 0.001689 constrained
[code]....
and further want to replace "Max" by line number so that i can plot the resulting file. i searched in forum, but couldn't do what i wanted to do. e.g. i used
1)grep command
grep -v "Max" inputfile >outputfile
deletes whole line,and hence whole text.
2) sed command
cat inputfile |sed 's/ .{1,12} //g' >outputfile
gives output
0.003745constrained
0.004549constrained
0.001689constrained
[code]....
I tried Suse five or six years ago and ran into an issue that was not comfortable to work with so I went back to windows. The problem was open spaces between words was not permitted with my music files. I have transferred all of my CDs and LPs to MP3 and have a tremendous number of them and the Suse of five years ago required I convert a title like Foggy Mountain Special.mp3 into something resembling Foggy_Mountain_Special.mp3
I don't care to convert literally a hundred thousand titles to fit the latter format. Does the current version of Suse allow the use of spaces between the words or is the 'no open space' convention still required?
I am a rookie. Yesterday, I intended to install a dictionary with the command sudo apt-get install dict-xdict, but it turned out to fail with the error. Then, I quited with Ctrl+ c, and I did not care much till today because when I want install something else today, the error keeps coming out. Therefore, I think I would better remove dict-xdict first, so I use sudo apt-get remove dict-xdict, but the error still appears:
[Code]...
I have already tries sudo apt-get -f install dict-xdict and it doesn't work out. I am hoping to install some other applications now, but I have not idea what I could do to fix this problem or just circumvent it
I have been messing with diff and grep for 2 days now without result
I am trying to match a file consisting of words to many separate other wordfiles in a specific directory. one by one.
What i want the script to do is to report how many matching words my main file has with every file in the directory, each in turn
setup:
Each of em are plain text files with 1 word per line
Output should be something like:
SCRIPT REPORT:
So theres this command
Code:
man -k mail
Which lists commands that contain the keyword "mail" in their description.I want the output of this command in less and the words highlighted by grep. Something like
Code:
man -k mail | grep mail | less
The command doesn't work, how do I fix it?
Is there a command that could be used to find word content in a file? I.e I want to find all files containing the word 169.254.0.0 in /etc directory.
View 4 Replies View RelatedI am using Oracle Enterprise Linux version 4 update 7.
Sometimes I have to access large files with thousands of lines in them and I would like to locate a particultar word. e.g.
vi /etc/passwd.
The contents of file passwd are displayed.I want to find a username of joe assuming the passwd file is 2000 lines long.
I would like to use a linux command that will locate joe and highlight in the passwd file as to where word joe is.
Is there a linux command that can do this?
I exported a spreadsheet file into cvs format.
The cvs file is formatted this way
field1,field2,field3,..etc
I want it to be in a Quote delimited format like so
"field1","field2","field3",..etc
i waas wondering if anyone knew of a script or program that removes duplicate words in a txt file. im making an install script and the install list has gotten a bit long so i want to ensure there are no duplicates in the file
View 2 Replies View Relatedi have this file, and considering it's obnoxiously huge i'd prefer not to have to do this manually. Is there some way i can manipulate sed or awk to change every other letter in all the words in a file to capital letters?
View 7 Replies View RelatedHave just installed 11.4 Linux 2.6.37.6-0.5-default. I find that saving data does not enter the folder. Attempting to file once more, the folder selected shows that data is already there and gives the option to overwrite. Closing the folder and reopening again, data has still not transferred. Only after rebooting does the data appear. I am wondering whether I have insufficient RAM (512K)
View 1 Replies View RelatedI am basically trying to remove duplicate words in my <title></title> tag after I got hit by Google Panda. I have around 750 .html files and it will be difficult for to me remove one by one. I am looking for a way to remove only from within <title> </title>
Example of a duplicate title I have:
Code:
<title>Pasta, Pasta Recipe and Pasta Guide</title>
I dont want to replace those words anywhere else in the file except for within the <title>
I have a text file that gets produced at the end of the script being run.
For this example the text file will produce the following:
Quote:
THE COW
THE DOG
THE CAT
THE HORSE
In the script I am using either echo or printf to print on the screen each line and then it is doing a test and produces a good or bad result.
Another example:
Quote:
THE COW -- IS HOME
THE DOG -- IS HOME
Each whitespace between the -- are 5 spaces. How can I get them to be in-line and formatted when it gets to more words, when THE HORSE arrives.
Example:
Quote:
THE COW -- IS HOME
THE DOG -- IS HOME
THE CAT -- IS HOME
THE HORSE -- IS HOME <-- This has only 3 whitespaces but is still formatted.
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 run:
Linux 2.6.27.48-0.3-pae i686
openSUSE 11.1
KDE 3.5.10
When I attempt to determine who's in the samba database or enter a new member in the file I get the following: No builtin nor plugin backend for tbdsam found PANIC (pid 8201): pdb_get_methods_reload: failed to get pdb methods for backend tbdsam
[Code]....
I attempted to upgrade from the software.opensuse.org website with samba-3.60-10.1.i586.rpm. I get a message: Nothing provides cifs-utils needed by samba-client-3.60-10.1.i586.rpm. So I could not upgrade. There are other upgrades on the site but they are not available for some reason. What is an appropriate upgrade? Is upgrading the solution? If not then what?
I'm trying to highlight some key words as tailing a log file using a perl script; about my case: I want to search for a keyworrs just once and highligt all occurrence of them. I want just highlit the keywords but not the whole line but the problems are that perl just catches the first keyword in a line and skip checking for other occurrence. for example if a line like "Error: some exception happen, Unable to process" it just highlight the error and do not process the remain part of the line where it should hilight the word "exception" and "Unable"
2-How can I do some action if for exapmle at least 4 time "unable" message appear ( not just in one line but diffrent line)in below is how I use perl search and replace : Code: s/(?:(unable|exception|warning))/e[1;31$&.......
I have recently installed inkscape on a KDE4 desktop using opensuse 11.3.I tried opening a .ARW file coming from a Sony NEX digital camera. The open file dialog page indicates that .arw files are supported, but when i try to do so a failure error message box appears.I started by asking this question at inkscape.org and got this response:
"Your question #147075 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/147075
Status: Open => Answered
[code]...
I am trying to use grep to only tell me files that include both words matching in a pattern file. However when i specify:
grep -f <pattern file> <file>
It pulls out anything that matches one or the other.
Not both.
how to get it to match AND not OR.
My .jar file needs and uses some files in the same directory it's in (everything, including the jar was unzipped into said directory). It runs perfectly when I do java -jar file.jar in the command line, but there's trouble when I double-click the file when running from the file system manager. I've tried a custom command under properties ie java -jar, but the problem is that the .jar file doesn't seem to be able to use any of the files in the same directory. When running, the jar can't find any of the files that it needs.
View 5 Replies View RelatedI have a samba share that was previously hosted by and accessed by Windows operating systems. As a result the filenames of all the files are not very command-line/linux friendly. I need to get a script or app that can go through the samba share recursively and change all file names to lowercase and replace spaces in the names with a ".", "_" or something.
View 9 Replies View Relatedwhen uploading a couple of files via ftp, it fails with
[code]...
But when performing this I got FATAL: Module capability not found. So what I'm using is openSuSE11.2 with 2.6.31.14-0.2-default kernel. Vsftp version is 2.0.7-5.2.1 How can I introduce this capability module into the kernel? Or do I not need it?
Maybe this is the wrong place to ask, but I'm trying to install opensuse 11.4 (64-bit) in virtual box, the installation went smoothly (no visible error messages). But the boot seem to get stuck. If anyone has got an idea what it could be, it would mean a lot. These are the last prints in the log before it gets stuck:
INIT: version 2.88 booting
System Boot Control: Running /etc/init.d/boot
mounting mandatory file systems done
I use gtranslator to translate po files. Gtranslator worked fine on 11.3 but when I installed 11.4 it crashed. I opened a Bug report here. Although I followed instructions, I couldn't solve it. Now I use Gnome 3. I installed gtranslator from the page where it says about Gnome 3. Now my gtranslator is 2.90. Now when I open a file, it returns the following image The numbers you see below are the words. I don't see a thing. I can move to next word but I still cannot see anything.
View 1 Replies View RelatedIts my first post in here so please be patient I am trying to use regex in perl script to detect allowed words from the file and then print output to the screen.
As an example : I have text file with orders and returns :
Item2-SKU-2-11.08.2010-online
Item3-SKU-3-11.09.2010-return
Item4-SKU-4-11.09.2010-store
My question: is it possible to make sure that i am ony outputing to the screen orders based on few conditions like Item,order form e.g. online.And is it possible to have multiple matches (Item2 only diplay if ordered online etc)
I have a security camera (Mobotix M12) which can save video to a Samba share, but it's unable to mount the share. So from another system I am trying to mount that share and it's failing.
The problem is not firewall, as no problem messages, and the Samba log is vacant.
When using this command, and I give the password:
In dmesg on the client I get:
And on the server I get nothing in dmesg or samba logs. And no logfile is created for the client machine in /var/log/samba. I can ssh over to driveway on the server just fine.
I used to use Samba, although it's been a long time, since I discovered sshfs.
I am creating a latex document (in English) where I want to write some Sanskrit words in Devanagari script. In my debian-5.0.4 OS where I have texlive-latex3 I did it by installing a package called latex-sanskrit. Is there any such package for opensuse-11.2 and which repository contains it? It will be preferable if it can be installed by yast2.
View 2 Replies View RelatedI have trouble when typing in Open Office Writer, Kmail, and zim, among other applications. It's not due to unintentional use of the 'insert' key, either.When I type in these applications, the word I am typing often disappears entirely if I don't add a space, return, or punctuation at the end of the word, or use the arrow keys. For example, when setting up a profile in Kmail, I typed my email address into the settings dialog box, and it kept removing the last part of the address: "myname@univ.edu" would always become "myname@univ." unless I added a space after the edu.
When I first encountered this behavior, in Writer, I thought it was a bug with the AutoComplete feature. But now that I've seen it in other applications, I think it is something more general. how to stop the unexpectedly deletion of words while typing?
Every time I try to empty the waste bin I get dolphin error - 'The file or folder /.local/share/Trash/files/IMGP1676.DNG does not exist'I tried to recreate the file 'IMGP1676.DNG' , deleted it i.e. sent i to the waste bin and then tried the empty waste bin again, although this time it was there and deleted it still reported the same error.du -h .local/share/Trash/files/ 12K .local/share/Trash/files
View 2 Replies View RelatedI am looking for a way to set a default for new users for the akonadi mysql.conf file that is created for each user for the akonadi database. Usually this file contains a inno_db_log_file_size of 64MB. Because of this the database eats up 64MB storage even if its still empty. I would like to decrease this size globally for each "new" user since we have very tight storage restrictions on our NFS home directories now. And 64MB make up already have the quota each user has. So this is to much. where is this default mysql.conf file taken from?
I found hints that there used to be a /usr/share/config/akonadi/mysql-global.conf file that was simply copied but I cannot find such a file on my 11.4 system. It seems things have changed. how akonadis user specific mysql.conf file in ~/.local/share/akonadi/ is generated for a new user? How can I use my own template file here?