Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2003, 12:08 AM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default c-shell script

heyas,

i've been looking at this assignment for about a week now and i missed pretty much all of the lectures on c-shell scripts, so i was wondering if someone could help me.
I have to write a csh script (htx) that constructs a HTML index page for files listed on the command line. The page has to contain a title, a table with one row for each indexed file, and a footer that specifies details about how the index was generated.
The command line syntax for the program is:
    htx [-option ...] [file ...]
The file arguments specify which files to index; if no files are specified, the program generates an index page for the files in the current directory. The option arguments specify what information to include in the index, and can occur in any order.
    -T text use text as both the title field in the head and the text for a h1 field in the body. The default title is "File Index".
    -l Make the file names in the index act as links (anchors) to the files themselves if the file is readable.
    -t Add file type information to the index.
    -d Add file detail information (size and modification time) to the index.
    -- Indicates end of option arguments. Remaining arguments should be treated as filenames, even if they begin with -.

As i said, i have absolutely no idea of where to even start for this, so any help would be appreciated, cheers,
Tim.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Shell???? Apocolypse2005 Visual Basic 2005 Basics 1 April 24th, 2008 06:31 AM
Using Shell to invoke cmd script with argument srcLakeJake Access VBA 3 October 26th, 2007 09:35 AM
where is shell script saved on unix box crmpicco Linux 2 August 3rd, 2007 12:56 PM
Shell seananderson Beginning VB 6 3 March 16th, 2007 05:41 AM
Shell Script techSupport C++ Programming 0 March 10th, 2005 05:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.