OpenSUSE :: Look Command Fails Look /usr/share/dict/words - No Such File

Dec 20, 2009

How can I install the dict file to look works?

I am running SUSE 11.1

Here is the error:

View 2 Replies


ADVERTISEMENT

General :: Remove Words In A File Using Sed Or Any Other Command?

Nov 30, 2009

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]....

View 4 Replies View Related

OpenSUSE :: Spaces Allowed In-between Words In A File?

Jan 12, 2011

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?

View 9 Replies View Related

Ubuntu :: Install A Dictionary With The Command Sudo Apt-get Install Dict-xdict

Mar 28, 2010

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

View 7 Replies View Related

Programming :: Bash File Comparing - Report How Many Matching Words My Main File ?

Jun 9, 2009

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:

View 8 Replies View Related

Ubuntu :: Output Of Command In Less And The Words Highlighted By Grep?

Sep 1, 2010

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?

View 2 Replies View Related

Ubuntu :: Finding Words In File?

Apr 28, 2011

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 Related

Red Hat / Fedora :: How To Locate Words In A File

Jul 6, 2010

I 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?

View 5 Replies View Related

General :: Add Quotes Between Words In A Cvs File?

Mar 8, 2010

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

View 2 Replies View Related

Ubuntu :: Deleting Duplicate Words In A Txt File?

Nov 14, 2010

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 Related

Ubuntu :: Capitalize Every Other Letter Of Words In File

Feb 19, 2011

i 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 Related

OpenSUSE :: Fails To Save File?

Jun 6, 2011

Have 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 Related

General :: Remove Duplicate Words Within A Particular Text In A File?

Jul 22, 2011

I 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>

View 14 Replies View Related

General :: Keeping A Constant Space Between 2 Words In A File?

Oct 6, 2010

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.

View 8 Replies View Related

General :: Regex To Find Min / Max Length Words In File?

Jan 29, 2011

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?

View 4 Replies View Related

OpenSUSE :: Samba Password File Fails

Oct 18, 2010

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?

View 3 Replies View Related

Programming :: Highlight Some Key Words As Tailing A Log File Using A Perl Script

Oct 21, 2010

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$&.......

View 2 Replies View Related

OpenSUSE :: Inkscape Fails To Open .ARW ( Sony RAW ) File?

Feb 28, 2011

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]...

View 4 Replies View Related

Ubuntu :: Getting Grep To Pull Info From A Specific File Which Match All The Words?

Jun 2, 2011

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.

View 9 Replies View Related

OpenSUSE :: .jar File Runs Fine In Command Line But Not From File System?

May 3, 2010

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 Related

OpenSUSE :: Get A Script Or App That Go Through The Samba Share Recursively And Change All File Names?

Apr 5, 2011

I 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 Related

OpenSUSE Network :: Vsftp: File Upload Fails With Vsf_sysutil_recv_peek

Oct 24, 2010

when 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?

View 1 Replies View Related

OpenSUSE Install :: Mounting Mandatory File Systems But The Next Step Fails?

Mar 11, 2011

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

View 2 Replies View Related

OpenSUSE :: Gtranslator Doesn't Show The Words

Jun 29, 2011

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 Related

Programming :: Use Regex In Perl Script To Detect Allowed Words From The File And Then Print Output To The Screen?

Oct 4, 2010

Its 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)

View 1 Replies View Related

Networking :: Mounting A Samba Share Fails ?

Mar 20, 2011

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.

View 2 Replies View Related

OpenSUSE :: Sanskrit Words In Texlive-latex (document In English)

Jun 29, 2010

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 Related

OpenSUSE :: Words Unexpectedly Disappear When Typing (in Multiple Applications)

Jul 15, 2010

I 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?

View 3 Replies View Related

OpenSUSE :: Dolphin Error Message 'The File Or Folder /.local/share/Trash/files/IMGP1676.DNG Does Not Exist'?

Feb 10, 2011

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 Related

OpenSUSE Network :: Use Own Global Template For Akonadis $HOME/.local/share/akonadi/mysql.conf File?

Apr 7, 2011

I 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?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved