Unix Programming - Wildcards with Unix

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2007 > Wildcards with Unix





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Wildcards with Unix
ajeevanathan@gmail.com

2007-04-12, 1:45 pm


Hey Guys,

I'm very new to Unix, but I can't seem to get wildcards for
directories working properly. I'm trying to dynamically cat files
together in various directories and the wildcards work for the file
names but not for the directories? Any ideas?

Thanks!

Jean-Rene David

2007-04-12, 7:23 pm

* ajeevanathan@gmail.com [2007.04.12 18:26]:
> I'm very new to Unix,


Welcome.

> but I can't seem to get wildcards for
> directories working properly.


You mean in a shell? If so then perhaps comp.unix.shell
would be more suitable for your question.

> I'm trying to dynamically cat files together in various
> directories and the wildcards work for the file names but
> not for the directories?


I'm really not sure what that mean. I suspect we have a
terminology problem. Can you illustrate?

--
JR
Bin Chen

2007-04-13, 1:24 am

On 4=D4=C213=C8=D5, =C9=CF=CE=E72=CA=B126=B7=D6, ajeevanat...@gmail.com wro=
te:
> Hey Guys,
>
> I'm very new to Unix, but I can't seem to get wildcards for
> directories working properly. I'm trying to dynamically cat files
> together in various directories and the wildcards work for the file
> names but not for the directories? Any ideas?


You can't cat directory.


David Schwartz

2007-04-13, 1:24 am

On Apr 12, 11:26 am, ajeevanat...@gmail.com wrote:
> Hey Guys,
>
> I'm very new to Unix, but I can't seem to get wildcards for
> directories working properly. I'm trying to dynamically cat files
> together in various directories and the wildcards work for the file
> names but not for the directories? Any ideas?
>
> Thanks!


You need to learn how to ask questions. Nobody reading this has any
clue what you're actually doing. Are you writing a program? commanding
a shell? If a program, what does your code look like? If a shell,
which shell? What commands are you pasing to it? What's actually going
wrong?

I know it's obvious to you what you're doing, what you expect, and
what output you're getting. But it's not obvious to anyone else.

DS

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com