Hi,
First time on the forum. I have converted some files using the Unix to DOS command but need to strip off the last record that is generated from this conversion that contains just a ^Z. Is there any command that would accomplish this without having to do stream editing? (4 Replies)
Hi all...
I want to delete the entire text of the file and want to make it zero byte..
would you please tell me the command for it.
Thanks and regards
Vijay sahu (4 Replies)
I have a file from which the Header and the Trailer lines need to be removed. They are confirmed to be the first and the last lines in the file.
I have tried a few commands, but not successful yet. It needs to be implemented urgently, hence any help is greatly appreciated.
Raghu
----------... (1 Reply)
Hello. I have the following issue: my txt file has the following format:
train/dr4/fklc0/sx175.txt 0 80282 Severe myopia contributed to Ron's inferiority complex. train/dr4/fklc0/sx355.txt 0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
With the... (1 Reply)
Hi
I have a file with fields delimited by |. I need to remove the first field from the file. I tried cut but it just extracts that field.
sample.output
abc|100|name1
cde|200|name2
efg|300|name3
Output should be
sample.output
100|name1
200|name2
300|name3
thanks
Var (6 Replies)
Hi,
I have catenated multiple output files (from a monte carlo run) into one big output file. Each individual file has it's own two line header. So when I catenate, there are multiple two line headers (of the same wording) within the big file. How do I use the sed command to search for the... (1 Reply)
Hi,
I writing a shell program to remove the data from output of the find which matches a list in a file
I am using the below find command to get the list of files
x=`find . -name test*.dat`
the output of the find command is as follows
test1.dat
test2.dat
test3.dat
test4.dat... (4 Replies)
I have two questions:
the first is I have a line of code:
printf "What is the id of the patient getting GJB2 analysis : "; read id that stores a user input in a variable $id in the python directory c:/Users/cmccabe/Desktop/Python27/$id.txt
Using rm I get the error cannot remove ... (21 Replies)
I have a eg file op.txt
This is a cat
This is a fat cat
This is a fat black cat
I want to remove only the word cat from the first alone .can somebody help.
please do wrap your samples in CODE TAGS
As per forum rules. (7 Replies)
Discussion started by: Sharks
7 Replies
LEARN ABOUT DEBIAN
awsres
AWSRES(1) AWS User's Guide AWSRES(1)NAME
awsres - build resource files for Ada Web Server applications
SYNOPSIS
awsres [-h] [-r unit] [-q] file...
DESCRIPTION
The Ada Web Server is a library that allows you to embed a web server into your Ada application. It provides not only HTTP but also SOAP,
WSDL and several other facilities. Thus you can write full-fledged web applications. awsres allows you to embed resources, such as pic-
tures, into your final executable, so that your executable is completely self-contained and does not need to read other files at run time.
awsres works by creating Ada source files that contain the data for your resources as arrays of bytes. You then compile these Ada source
files into your executable. At run time, the AWS library automatically loads the resources from the executable whenever available.
awsres creates one parent Ada package named, by default, `res', and one child package for each of the files given on the command line. The
package `res' registers each resource when your application starts. To link `res' into your executable you simply add a `with res;' state-
ment in one of your source files.
EXAMPLE
$ ls
image.png
$ awsres image.png
AWSRes - Resource Creator v1.0
creating image.png...
-> registered
$ ls
res.adb res.ads res-image_png.ads image.png
OPTIONS -h Display help message.
-r name
Set the root unit name. Default is `res'.
-q Quiet mode.
SEE ALSO wsdl2aws(1)
The Ada Web Server User's Guide in package libaws1-doc.
AUTHOR
awsres was written by Dmitriy Anisimkov <anisimkov@yahoo.com> and Pascal Obry <p.obry@wanadoo.fr> as part of the Ada Web Server.
This manual page was written by Ludovic Brenta <ludovic.brenta@insalien.org> for Debian GNU/Linux.
GNU Ada Tools 29 JAN 2004 AWSRES(1)