Sponsored Content
Full Discussion: Grep wildcards
Top Forums Shell Programming and Scripting Grep wildcards Post 302654053 by vasil on Monday 11th of June 2012 07:44:56 AM
Old 06-11-2012
Thank you for the quick answers. Both options work perfectly.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Wildcards in VI

I'm trying to delete lines from a large text file using VI. Every line that I am wanting to delete start with 'S' - all others do not. (A list of users) I've tried using * but doesn't seem to like it...any ideas... Doesn't have to be VI - but I'm better with VI than sed/awk. (8 Replies)
Discussion started by: peter.herlihy
8 Replies

2. UNIX for Dummies Questions & Answers

Wildcards In UNIX

on my SCO UNIX wild cards are not displaying wanted result. Why like that . I think that i was not using proper command . what are there . how can i use the wildcards in UNIX. (7 Replies)
Discussion started by: smdakram
7 Replies

3. UNIX for Dummies Questions & Answers

grep and wildcards

Hi guys, a small problem today, I'm grepping a log file containing lines like this below: Mar 09 16:04:00 blabla Mar 09 16:04:02 blabla Mar 09 16:04:05 blabla Mar 09 16:04:15 blabla Mar 09 16:05:06 blabla Mar 09 16:05:23 blabla Mar 09 16:05:25 blabla ... in this file I'm grepping... (5 Replies)
Discussion started by: Lomic
5 Replies

4. UNIX for Dummies Questions & Answers

wildcards

when writing a shell script (bourne) and using a unix command like 'ls' is there anything special you need to do to use a wildcard (like *)? (3 Replies)
Discussion started by: benu302000
3 Replies

5. UNIX for Dummies Questions & Answers

ls with wildcards

ok, I'm trying to write a script file that lists files with specific elements in the name into a txt file, it looks like this ls s*.dat > file_names.txt can't figure out whats wrong with that line, any ideas? thanks in advance (10 Replies)
Discussion started by: benu302000
10 Replies

6. UNIX for Dummies Questions & Answers

wildcards NOT

Hi All Please excuse another straightforward question. When creating a tar archive from a directory I am attempting to use wildcards to eliminate certain filetypes (otherwise the archive gets too large). So I am looking for something along these lines. tar -cf archive.tar * <minus all *.rst... (5 Replies)
Discussion started by: C3000
5 Replies

7. UNIX for Advanced & Expert Users

Wildcards

These 2 websites do a GREAT job of explaining different types of wildcards. I learned about the categories of characters which I never knew about at all. GNU/Linux Command-Line Tools Guide - Wildcards GREP (1 Reply)
Discussion started by: cokedude
1 Replies

8. Shell Programming and Scripting

Perl - grep issue in filenames with wildcards

Hi I have 2 directories t1 and t2 with some files in it. I have to see whether the files present in t1 is also there in t2 or not. Currently, both the directories contain the same files as shown below: $ABC.TXT def.txt Now, when I run the below script, it tells def.txt is found,... (5 Replies)
Discussion started by: guruprasadpr
5 Replies

9. UNIX for Dummies Questions & Answers

[Solved] Wildcards used in find, ls and grep commands

Platforms : Solaris 10 and RHEL 5.6 I always get double quotes , single quotes and asteriks mixed up for find, ls and grep commands. The below commands retrieve the correct results. But , unders stress , I get all these mixed up :mad: .So, i wanted to get a clear picture. Please check if... (7 Replies)
Discussion started by: John K
7 Replies

10. Shell Programming and Scripting

Grep multiple patterns that contain wildcards

job_count=`grep -e "The job called .* has finished | The job called .* is running" logfile.txt | wc -l` Any idea how to count those 2 patterns so i have a total count of the finished and running jobs from the log file? If i do either of the patterns its works okay but adding them together... (8 Replies)
Discussion started by: finn
8 Replies
XWORD(1)						      General Commands Manual							  XWORD(1)

NAME
xword - do crossword puzzles in the Across Lite format SYNOPSIS
xword [puzzlefile.puz]... DESCRIPTION
Xword is a GTK program for doing crossword puzzles. It can read and write puzzles in the Across Lite file format. Consequently, it works well for doing puzzles from The New York Times. As well as a clock, it supports printing. It also auto-saves puzzles as you solve them so that you can return to partially completed puzzles. USAGE
First, locate a puzzle on the web. The best place to go is the web site of The New York Times. However, it costs money to access these puz- zles. Free puzzles are available from The Houston Chronicle. After you have found a puzzle, click on it in your web browser. Xword will open the puzzle and you can start solving. You can also choose to save the puzzle on your hard disk. Then you can open the puzzle using Xword later. After you have worked on a puzzle for a while, you may want to save your work. There are two ways to save. The easiest way is to close Xword without any further action. The next time you open the same puzzle (either by opening the .puz file or by clicking the same link on the web), you will be asked whether you want to continue where you left off. If you choose to continue, all your correct and incorrect answers will be saved, as well as the time on the clock. However, this technique only works for opening the puzzle on the same computer. If you need to open the saved puzzle on a different com- puter, then you can choose "Save" from the "File" menu. The saved file can be opened with Xword on any computer. However, incorrect answers and the time on the clock will not be saved. To print a puzzle, select "Print" from the "File" menu. You can see what the printed puzzle will look like by clicking "Print Preview". You can select the paper size and orientation by clicking on the "Paper" tab (puzzles are usually easier to read in landscape mode). Sometimes a puzzle will be locked so that the answers are unavailable. Unfortunately, Xword's support for locked puzzles is somewhat flaky. When using a locked puzzle, you should not click on the "Check" or "Solve" buttons, since they will give incorrect information. How- ever, you can still use Xword to enter answers for a locked puzzle. Later, when an unlocked version of the puzzle is released (usually the next day), open it using Xword. When asked, choose to continue where you left off. Now you can use the "Check" and "Solve" buttons to see how well you did. Sometimes crosswords will come with a four-digit code to unlock a locked puzzle file. This code is not needed by Xword ... For more information, see the project home page at <https://alioth.debian.org/projects/xword/>. AUTHOR
xword was originally written by Bill McCloskey <bill.mccloskey@gmail.com>. This manual page was written by John Sullivan <johns@debian.org>, for the Debian project (but may be used by others). BUGS
Please report bugs to <https://alioth.debian.org/tracker/?atid=413106&group_id=100419&func=browse>. December 3, 2007 XWORD(1)
All times are GMT -4. The time now is 10:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy