Sponsored Content
Full Discussion: Wildcards In UNIX
Top Forums UNIX for Dummies Questions & Answers Wildcards In UNIX Post 13220 by Perderabo on Monday 14th of January 2002 09:31:52 AM
Old 01-14-2002
Wildcarding is sometimes also called globbing. And shells have ways to turn it off. We need to know which shell you are using to tell you how to check and correct this. But with ksh there is an option called "noglob" and you want this option off. I find the syntax for this to be counterintuitive:

set -o | grep noglob # check status of noglob
set -o noglob # Turn noglob on, no wildcards
set +o noglob # Turn noglob off, wildcards work
 

10 More Discussions You Might Find Interesting

1. Programming

Makefile wildcards

Using a makefile I want to compile all .c files in the current directory without specifying them directly and then link their associated .o files into a library. How do I do this ? Thanks. (1 Reply)
Discussion started by: rcscott
1 Replies

2. UNIX for Dummies Questions & Answers

ls - wildcards and global use

Hiya, I want to list all files missing a certain pattern and/or filename pattern on the entire drive. In DOS I would type (for instance): dir \t*.doc /s /a which should find all doc files whose filename starts with `t'. How do I do that in a unix shell? Can it be done w/ ls at... (5 Replies)
Discussion started by: ropers
5 Replies

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

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 Dummies Questions & Answers

wildcards in path

Is there some rule about using wildcards in path? Say I want to create a file, but one of the directories in the path is called 1433d.default and on different machines it will be called <some other string>.default touch ~/Library/Application/*.default/myfile In theory I thought that... (5 Replies)
Discussion started by: glev2005
5 Replies

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

9. Shell Programming and Scripting

Wildcards and exceptions

Hello: I have a very basic question. I'd like to select all files except for one file. For example, say I want to move all of the files in my current directory to a subdirectory called archive, I would use mv ./* archive/ But what if I want to move all files except for README.txt? Is there an... (19 Replies)
Discussion started by: Danny.Boy
19 Replies

10. UNIX for Dummies Questions & Answers

Renaming with wildcards

Hi, I'm new to Unix, but have a directory which has many files in it, well over 1000. The files are called : M07GO.STOPE0001 M07GO.STOPE0002 M07GO.STOPE0003 M07GO.STOPE0004 etc... I would like to rename them to the following : M070001.bin M070002.bin M070003.bin M070004.bin etc....... (4 Replies)
Discussion started by: rnmuk
4 Replies
MIWM(1) 						      General Commands Manual							   MIWM(1)

NAME
miwm - a minimal appearance, full-function window manager SYNOPSIS
miwm DESCRIPTION
MIWM is Ben Wise's MInimal Window Manager. It is pronounced 'my whim'. The goal of miwm is to be a fully functional window manager, while retaining a very spare (Zen or Spartan, as you please) appearance and command-set. WARNING
This man page is VERY MUCH under construction. It is not complete, and blatantly contains leftover pieces of the man page I used as a tem- plate. Do not rely on anything you find here. COMMANDS
The notation for describing commands is that Mouse-1-frame means 'button 1 click on frame', C-Mouse-3-root means 'control button 3 click on root', Mouse-1-frame Raise. Mouse-2-frame Move. Mouse-2-root Select virtual workspace. Mouse-3-frame Hide. Filenames passed to miwm can be directories or deleted files. If a directory that is not deleted is passed to miwm, then the deleted files or directo- ries in it will be restored; if the recursive option is specified, then all deleted files or directories in any of its children will be restored as well. The shell wildcards * and ?, as well as shell brace notation using [ and ], are interpreted correctly by miwm. It is possible to pass wildcards to the program without the wildcards being intercepted by the shell by setting noglob (in csh) or by quoting the wildcards. To delete a file that actually has a wildcard in its name, you must precede the quoted wildcard with a quoted backslash. If no files are specified on the command line, miwm goes into interactive mode. In interactive mode, the user is prompted to enter files to be restored, one file per line. Typing a carriage return on an empty prompt line exits the program. Wildcards and quoting backslashes can be entered directly at the prompt without any shell interference (which is the main reason there is an interactive mode). OPTIONS
Miwm No command-line options. KNOWN BUGS
The code is too complicated. No icon support. SEE ALSO
9wm(1), aewm(1) AUTHOR
Ben Paul Wise RESTRICTIONS
Copyright (c) 1998-2003 by Ben Paul Wise. All rights reserved. MIWM(1) specifies the terms and conditions for redistribution. Ben Paul Wise 06 May 2003 MIWM(1)
All times are GMT -4. The time now is 09:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy