I would like my csh prompt to behave like the linux csh prompt setting done by linux command (set prompt="%n@%m %c]$ ")
how do I do that?
What I'm trying to do is that I would like to see what directory I'm in by looking at the prompt.
I've figured out that %n is like $user, and %m is like... (3 Replies)
How can I write a script that determines the directory the user is in, and displays that path up until a particular point?
Specifically, I need to find the text "packages" in the directory name, then I need to capture that directory and the one below it.
For example, if the user is in the... (5 Replies)
hi Everbody,
I had file names as shown
file_01_20101104.txt
file_01_20101105.txt
file_02_20101104.txt
file_01_20101205.txt
file_03_20101104.txt
file_02_20101105.txt
Now i want to list them based on the date in the file name as shown...
file_01_20101104.txt
file_02_20101104.txt... (3 Replies)
Hi,
i have a directory full of pictures, .jpg files. Half of them begin with "beach_" (for ex beach_123_123456.jpg)
i'm looking for a command to remove the "beach_" from all files in the directory.
thanks (4 Replies)
Hi
I think this should be relatively simple but I can't figure it out. I have several files with the same name in different folders within a directory (the output of a program that I ran). Something like this:
./myAnalysis/item1/round1/myoutput.txt
./myAnalysis/item1/round2/myoutput.txt... (2 Replies)
I'm making a shell script to:
-copy directories to a new location
-perform conversions on the files within the copied directories
-move the newly created files to a new directory
Please see my super basic script and notes below... and thank you thank you thank you in advance !!
... (1 Reply)
Hello,
I need to add a part of folder name to the files inside it. For instance the file is
HMCBackup_20150430.155027.tgz
and it is under directory /nim/dr/HMCBackup/cops22
I need to add cops22 to the file name so as it would be cops22_HMCBackup_20150430.155027.tgz
Any help in doing... (10 Replies)
Hi,
So I struggled to find a solution to the following problem:
I want to make sed print only part of multiple different paths.
So lets say we have
/path/path1/path2/logs/bla/blabla
/path/path1/path2/path3/logs/yadda/yadda/yadda
Can someone suggest a way to make sed or other... (5 Replies)
I am part of the group group1. The directory permission I am trying to cd into are 770 for both the parent directory and child directory but I still can not cd into. What am I doing wrong?
$ ls -l /NAS/infa/
drwxrwxr-x. 22 user1 group1 506 Jun 6 17:05 infa_shared
$... (5 Replies)
Discussion started by: cokedude
5 Replies
LEARN ABOUT DEBIAN
htmake
HTMAKE(1) GLOBAL cgi Utilities HTMAKE(1)NAME
htmake - create GLOBAL hypertext source searchable by gsearch.cgi
SYNOPSIS
htmake [htags options] [--url=base-url] [destdir]
DESCRIPTION
htmake is a wrapper script that creates searchable hypertext from program source code and records information into a path database needed
for a centralised search mechanism.
Prior to using this command you must have installed gsearch.cgi using the htconfig -I option and configured the location of the path data-
base in htmake.conf
Before you can create the hypertext source you need to execute gtags(1) from the root directory of the source tree. htmake is then called
from the same place.
htmake uses htags(1) to create the hypertext with a unique id and htconfig(1) to make the required entries in the path database.
OPTIONS
The following options will be passed to htags(1) if used.
-a Make an alphabetical function index.
-c Compress html. Use gzip(1) with .ghtml suffix.
-C Compress html. Use gzip(1) with .html.gz suffix.
-d tagdir, --tags=gtagsdbpath
Specifies the directory in which GTAGS and GRTAGS exist. The default is the current directory.
-F Use frames for definition index, file index and main view.
-l Make a name tag for each line of hypertext created.
-n Print out the line numbers.
-t title
The title of this hypertext. Defaults to the last component of the current path.
--action=cgi-url
Specify the location search queries are submitted to. Defaults to the value set in htmake.conf or to
http://localhost/cgi-bin/gsearch.cgi
The remaining options are more general or are passed to htconfig(1).
--url=base-url
the base url for your new hypertext source. For best results always use absolute url's here.
eg. http://host/~user/mysource
It defaults to file:/destdir
destdir
The directory in which hypertext is generated. The default is ./HTML
-v, --verbose
Activate the inbuilt screen saver. Give your phosphors a workout.
EXAMPLES
$ cd /usr/src/myprog
$ gtags
$ htmake
$ cd /usr/src/myprog
$ gtags -c
$ htmake -c --url=http://host/~user/prog/HTML
/home/user/public_html/prog
FILES
/etc/gtags/htmake.conf
path database
BUGS
As a wrapper htmake gets to inherit bugs from other software too. Isn't life fun.
This is alpha software - expect anything!
SEE ALSO htconfig(1), htags(1), gtags(1), global(1).
AUTHOR
Ron Lee <ron@debian.org>
CREDITS
Thanks to Shigio Yamaguchi <shigio@gnu.org> for creating GLOBAL and releasing it as free software.
A truly cool productivity tool!
Debian GNU/Linux 27 March 1999 HTMAKE(1)