08-09-2001
If somehow you have some non-printable characters mixed in the filename, you will have a hard time getting the right filename for rm. If you have the ability to get to the file with a GUI (GNOME, CDE, KDE, etc...) try to delete it from there. If not, use wildcards and hope for the best...
try:
rm -i filename.dat*
The -i flag prompts you before it removes the file. If that matches more than one file in that directory, be sure to type n! If you type y, you'll remove the file forever.
Anyone else have any safer ideas? I've done this before, and used the above method... as best as I can figure, I had some garbled output that created a file named results^H.tx^Hct. The ^H's didn't print in an 'ls'.
7 More Discussions You Might Find Interesting
1. Programming
#include<stdio.h>
int main ()
{
FILE* f_read;
FILE* f_write;
char *string;
f_read=fopen("file1","r");
while(!feof(f_read));
{
fscanf(f_read,"%s",string);
fprintf(stdout,"%s\n",string);
... (2 Replies)
Discussion started by: bishweshwar
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
If you look at the example below,I want to replace the 21st character (,) with a period (.). I have 1000 records in a file can someone help me how to do that. Thankyou all in advance.
"2008-07-15... (3 Replies)
Discussion started by: blackhawk_123
3 Replies
3. Shell Programming and Scripting
Dear All,
Please advice me, I have a text file with one field date and time like below given. I need to find out the lines whchi content the time stamp between
Wed May 26 11:03:11 2010 and Wed May 26 11:03:52 2010 both can be included, using awk command which could be an interactive so that I... (6 Replies)
Discussion started by: chinmayadalai
6 Replies
4. Shell Programming and Scripting
I have more than one files in a directory , namely
GLOW_OUT.txt
FIELD_OUT.txt
BASE_OUT.txt
...
SHOW_OUT.txt
What I wanted to do is to
I am working in Korn Shell
What I did was :
for file in <directory_name>/*.* ;do
cat $file | grep -v '^$' >> temp_file
rm $file
done
... (7 Replies)
Discussion started by: kumarjt
7 Replies
5. UNIX for Dummies Questions & Answers
I have a file like this.
It is tab delimited.
Unfortunately, the missing data was filled in with a period "." (see the leading lines 1-5 columns)
I want to substitute the periods for misisng data with an integer "-999".
however, I do not want the global replace to change the other periods seen... (7 Replies)
Discussion started by: genehunter
7 Replies
6. Shell Programming and Scripting
Hi All,
Is there another way to achieve this?
how get short phrase in a sentence with character count of 100 to 155 words end with period but don't end something like 50,000. .
Here's my current script but the output is not good. This will use for my snippets or preview.
grep... (6 Replies)
Discussion started by: lxdorney
6 Replies
7. Red Hat
I am facing issue related to performance of one customized application running on RHEL 5.9. The application stalls for some unknown reason that I need to track. For that I require some tool or shell scripts that can monitor the CPU usage statistics (what we get in TOP or in more detail by other... (6 Replies)
Discussion started by: Anjan Ganguly
6 Replies
KIG(1) KDE User's Manual KIG(1)
NAME
kig - an interactive geometry program for KDE
SYNOPSIS
kig [-c, --convert-to-native [-o, --outfile filename]] [KDE Generic Options] [Qt Generic Options]
DESCRIPTION
Kig is an application for interactive geometry. It is intended to serve two purposes:
o To allow students to interactively explore mathematical figures and concepts using the computer;
o To serve as a WYSIWYG tool for drawing mathematical figures and including them in other documents.
With this program you can do geometry on a computer just like you would on a blackboard in a classroom. However the program allows you to
move and change parts of a geometrical drawing so that you can see how other parts change as a result.
Kig supports loci and user-defined macros. It also imports and exports both to and from foreign file formats including Cabri, Dr. Geo,
KGeo, KSeg and XFig.
This application is part of the official KDE edutainment module.
OPTIONS
-c, --convert-to-native
Do not show a GUI. Instead convert the specified file to native Kig format. The native Kig file will be written to standard output
unless --outfile is passed.
-o, --outfile filename
Used with --convert-to-native to specify where to save the newly created Kig file. Not specifying this option, or providing a filename
of - will output the file to standard output.
SEE ALSO
More detailed user documentation is available from help:/kig (either enter this URL into Konqueror, or run khelpcenter help:/kig).
There is also further information available at the KDE Edutainment website[1].
AUTHORS
Kig was written by Dominique Devriese devriese@kde.org, Maurizio Paolini paolini@dmf.bs.unicatt.it, Franco Pasquarelli
pasqui@dmf.bs.unicatt.it, Pino Toscano toscano.pino@tiscali.it, and others.
This man page based on the one prepared for Debian by Ben Burton bab@debian.org.
AUTHOR
Ben Burton <bab@debian.org>
Author.
NOTES
1. KDE Edutainment website
http://edu.kde.org/kig/
K Desktop Environment 2010-10-06 KIG(1)