How to remove -.o
am 06.12.2007 19:24:37 von JamesAccidently generated a file named -.o via
echo | gcc -c -xc -
How to remove -.o?
TIA
James
Accidently generated a file named -.o via
echo | gcc -c -xc -
How to remove -.o?
TIA
James
On Thu, 06 Dec 2007 10:24:37 -0800, James wrote:
> Accidently generated a file named -.o via
>
> echo | gcc -c -xc -
>
> How to remove -.o?
>
> TIA
> James
try: rm -- -.o
Regards,
Steffen "goedel" Schuler
On Dec 6, 1:24 pm, James
> Accidently generated a file named -.o via
>
> echo | gcc -c -xc -
>
> How to remove -.o?
rm ./-.o
Works with all versions of rm (and all other tools) whether it
recognizes the -- argument or not
HTH
--
Lew
On Dec 6, 12:24 pm, James
> Accidently generated a file named -.o via
>
> echo | gcc -c -xc -
>
> How to remove -.o?
rm ./-.o
Kent