[comp.unix.questions] cc -o *.c

cpcahil@virtech.uucp (Conor P. Cahill) (11/09/89)

In article <1042@root44.co.uk>, gwc@root.co.uk (Geoff Clare) writes:
> In article <20512@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes:
> >
> >	% echo *.c
> >	t.c tet.c t.c
> 
> That's a neat trick, Chris.  Care to tell us how you managed it?

easy,

	% cp /dev/null t.c
	% cp /dev/null tet.c
	% cp /dev/null "tj\<BACKSPACE>.c "
	% echo *.c
	t.c tet.c t.c

-- 
+-----------------------------------------------------------------------+
| Conor P. Cahill     uunet!virtech!cpcahil      	703-430-9247	!
| Virtual Technologies Inc.,    P. O. Box 876,   Sterling, VA 22170     |
+-----------------------------------------------------------------------+

cmf@obie.cis.pitt.edu (Carl M. Fongheiser) (11/14/89)

In article <1989Nov9.145517.4338@virtech.uucp> cpcahil@virtech.uucp (Conor P. Cahill) writes:
] In article <1042@root44.co.uk>, gwc@root.co.uk (Geoff Clare) writes:
] > In article <20512@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes:
] > >
] > >	% echo *.c
] > >	t.c tet.c t.c
] > 
] > That's a neat trick, Chris.  Care to tell us how you managed it?
] 
] easy,
] 
] 	% cp /dev/null t.c
] 	% cp /dev/null tet.c
] 	% cp /dev/null "tj\<BACKSPACE>.c "
] 	% echo *.c
] 	t.c tet.c t.c

Nah, even easier:

cp /dev/null 't.c tet.c t.c'

			Carl Fongheiser
			cmf@unix.cis.pitt.edu

merlyn@iwarp.intel.com (Randal Schwartz) (11/16/89)

In article <20619@unix.cis.pitt.edu>, cmf@obie (Carl M. Fongheiser) writes:
| In article <1989Nov9.145517.4338@virtech.uucp> cpcahil@virtech.uucp (Conor P. Cahill) writes:
| ] In article <1042@root44.co.uk>, gwc@root.co.uk (Geoff Clare) writes:
| ] > In article <20512@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes:
| ] > >
| ] > >	% echo *.c
| ] > >	t.c tet.c t.c
| ] > 
| ] > That's a neat trick, Chris.  Care to tell us how you managed it?
| ] 
| ] easy,
| ] 
| ] 	% cp /dev/null t.c
| ] 	% cp /dev/null tet.c
| ] 	% cp /dev/null "tj\<BACKSPACE>.c "
| ] 	% echo *.c
| ] 	t.c tet.c t.c
| 
| Nah, even easier:
| 
| cp /dev/null 't.c tet.c t.c'
| 
| 			Carl Fongheiser
| 			cmf@unix.cis.pitt.edu

Why get /dev/null involved?  Or even exec a process?

$ >'t.c tet.c t.c'

:-)

OB Perl Reference:

perl -e 'open(STDOUT,">t.c tet.c t.c");'

Just another Perl heckler,
-- 
/== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\
| on contract to Intel's iWarp project, Hillsboro, Oregon, USA, Sol III  |
| merlyn@iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn	         |
\== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/