|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
cat question
hello! why this works? Code:
cd /home/user cat * | ecasound -i stdin -o jack and this doesn't? Code:
cd /home/user/somedirectory cat * | ecasound -i stdin -o jack somedirectory are full with exe files which are the best source for this sort of noise thing Last edited by Scott; 02-07-2012 at 05:54 AM.. Reason: Please use code tags - and a more meaningful subject for your threads |
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
Unless you define what "doesn't work" means, it's possible that no one can help you.
|
| Sponsored Links | ||
|
|
|
#3
|
||||
|
||||
|
cat * will exapnd to cat file1 file2... file1, file2 etc files being in the current directory. So chances are there that the "somedirectory" is empty!
--ahamed |
|
#4
|
||||
|
||||
|
Quote:
Quote:
![]() |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
i mean first example "cat's" files in my home directory to my soundcard and makes noise but second example throws error
cat: invalid option -- ' ' so how to use subfolder in home directory and cat all files from that directory to | ecasound -i stdin -o jack? |
| Sponsored Links | |
|
|
#6
|
||||
|
||||
|
Oops... I missed that part!...
![]() --ahamed |
| Sponsored Links | |
|
|
#7
|
||||
|
||||
|
Perhaps you have a file name '-- '? Code:
$ touch -- '-- ' $ cat * cat: unrecognized option `-- ' Try `cat --help' for more information. |
| Sponsored Links | ||
|
|
![]() |
| Tags |
| cat |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk question. | rontopia | Homework & Coursework Questions | 7 | 03-17-2011 08:41 PM |
| Question about 223 | gsabarinath | AIX | 6 | 03-16-2009 06:46 PM |
| Cal question | Vin | UNIX for Dummies Questions & Answers | 2 | 01-19-2008 09:51 PM |
| question on afs | Anta | Shell Programming and Scripting | 0 | 02-11-2005 02:53 AM |
| FTP Question | kapjag | Shell Programming and Scripting | 1 | 01-20-2005 11:02 PM |
|
|