11-29-2001
you need to do
gunzip <filename>
include the gz extension in the filename.
This may not be in your path - check by typing which gunzip - if it says it's not in your path - you'll need to find the file and run it from there......
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone. I'm trying to install Frontpage extensions capacity on my web server and getting this error:
./fp_install.sh: line 59: 6763 Segmentation fault /usr/local/frontpage/version${VERSION}/bin/fpsrvadm.exe -o install -p $port $web $config -u $admin $server $chown -m ""
ERROR: /... (6 Replies)
Discussion started by: alwayslearningunix
6 Replies
2. Shell Programming and Scripting
Hello people, I was wondering if anyone could help me?
I want to produce a shell script that changes the filename extension on all matching file.
E.G. change all files called ‘something.rtf' to ‘something.doc' by giving the command:
Changex rtf doc
*where ‘Changex' is the name of... (2 Replies)
Discussion started by: thurrock
2 Replies
3. UNIX for Dummies Questions & Answers
Hiya all,
(Ops sorry - wrong area in 1st post!)
I'm getting the error:
Cannot find Apache apxs at /usr/sbin/apxs
ERROR: Unable to install mod_frontpage dso
(Full error below)
(I've tried downloading from both www.rtr.com and www.microsoft... - same error)
Please advise!
... (0 Replies)
Discussion started by: marty 600
0 Replies
4. UNIX for Dummies Questions & Answers
Hey!
Do you guys know of a good site that can explain all the Unix commands... I have been using Unix för almost 6 months but still have probelms with things like -u -U -g -G -R -T bla bla bla bla
thanks!
Dave (3 Replies)
Discussion started by: inkastinka
3 Replies
5. Shell Programming and Scripting
Friends
I want to automat sending a letter to different persons whose directories are named as 001, 002, 003, 004.
To push the same letter to all these directories, I need to name the letter as letter.001, letter.002 like that.
Is there any method whereby I get the extension of this letter... (2 Replies)
Discussion started by: chssastry
2 Replies
6. Shell Programming and Scripting
Dear Friends,
I want to move all the files to temp folder except files having following extensions which are case sensitive.
.ttM
.Hmt
.dMt
Request you to guide me to do the same
Thank you in advance
Anushree (3 Replies)
Discussion started by: anushree.a
3 Replies
7. Shell Programming and Scripting
hi guys
i have this script
Doc_=/home/$USER/Documentos/*.odt || .doc
but in the code above, only .odt files are selected, all .doc none.
What is the error in the code?
thanks (13 Replies)
Discussion started by: felito
13 Replies
8. Shell Programming and Scripting
I am trying to store file with certain file extensions to list but having some problems.
Here is a part of the code
set fryLst = ""
set fxtLst = ""
foreach f ($AfullNameLst)
set fname = $f:r
set fext = $f:e
if ("$fext" == ".ry") set fryLst = "$fryLst $f"
if ("$fext" == ".xt")... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Shell Programming and Scripting
Hello everyone. :) I need to write a script and I'm newbie in it.
Sorry for my English, I've been learning that amazing language for one year.
Task:
Write script called 'myls', "wrapper" program call ls in such a way that you could ask it the name of the file without extension, for example:... (1 Reply)
Discussion started by: Sweetheart
1 Replies
10. Shell Programming and Scripting
Hello all!
I want to move several files foo.aux foo.log foo.pdf foo.tex to bar_foo.aux bar_foo.pdf bar_foo.tex
I am on tcsh
% mv foo.* bar_!#:1
is not working.
Thank you for your help
marek (11 Replies)
Discussion started by: marek
11 Replies
LEARN ABOUT OPENDARWIN
get_filename
get_filename(3alleg4) Allegro manual get_filename(3alleg4)
NAME
get_filename - Returns a pointer to the filename portion of a path. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
char *get_filename(const char *path);
DESCRIPTION
Finds out the filename portion of a completely specified file path. Both `' and `/' are recognized as directory separators under DOS and
Windows. However, only `/' is recognized as directory separator under other platforms. Example:
get_executable_name(name, sizeof(name));
allegro_message("Running `%s'
", get_filename(name));
Note that Allegro won't perform any IO operations during the verification. This means that if you have `/a/path/like/this/', which doesn't
have a filename, the function will return a pointer to the trailing null character. However, if you have `/a/path/like/this', Allegro will
return a pointer to `this', even if it is a valid directory.
RETURN VALUE
Returns a pointer to the portion of `path' where the filename starts, or the beginning of `path' if no valid filename is found (eg. you are
processing a path with backslashes under Unix).
SEE ALSO
get_extension(3alleg4), put_backslash(3alleg4), replace_filename(3alleg4), exmidi(3alleg4)
Allegro version 4.4.2 get_filename(3alleg4)