01-31-2008
hi Karthikeyan_113! i have error when i run the code.
error shown:
head: unrecongonized option `-:'
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
how can i display the result on the screen one page at a time?
say i search for .txt files and return the result on the screen one page at a time. (4 Replies)
Discussion started by: nickaren
4 Replies
2. UNIX for Dummies Questions & Answers
hello
showrev -p | wc -l
returns:
381
What to do in case I want to have this output:
number of lines returned by showrev -p is: 381
thx (3 Replies)
Discussion started by: melanie_pfefer
3 Replies
3. Shell Programming and Scripting
Hi All,
I amlearning UNIX scripting. I have a small query. I would be thankful if any one helps me out.
I have a below piece of code which delets the files. If file dosent have the permissions to delete a particular file I have used 2>>operator to track the error code.
But my objective is... (1 Reply)
Discussion started by: manas6
1 Replies
4. Shell Programming and Scripting
Hello all. I'm a long time browser, first time poster...Be gentle :-)
I don't use csh much, but have been asked to make a small script for our HP-UX systems to search for a report file(s) or summary file and display the result (I was using vuepad, but this probably is just
complicating... (4 Replies)
Discussion started by: neillsm
4 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I wrote a script that reads inputs from user and store in array named "input". The number of elements in the array is not fixed - determined only after user exit the while loop that reads the array values :
x=1
echo "Enter first value"
read input
while } != "exit" ]
do
... (1 Reply)
Discussion started by: luna_soleil
1 Replies
6. Shell Programming and Scripting
Hi,
echo "Enter file name of input file list along with absolute path : "
read inputFileList
if
then
for string in `cat inputFileList`
do
echo $string
done
else
echo " file does not exist"
fi
From the above code, if the user enters a invalid file... (1 Reply)
Discussion started by: i.srini89
1 Replies
7. Shell Programming and Scripting
Hi, i am very new to php Is it possible to display Range of date depend on user input day
example:
user input 2 day start from 28/4/12 it will add 2 day from date of input
so display should look like this
28/4/12 to 30/4/12
then from 30/412 user add another 4 date so will... (0 Replies)
Discussion started by: guidely
0 Replies
8. Shell Programming and Scripting
My script gives the following result. Is it possible to display the same in table format ?
1.
rex_best
Latest feeds are not avaialable. The last feed was generated on 2012-05-17
File Name = ekb_best_20120517_010949_665.tar.gz
The Number of entry elements = 4209539
2.
rex_genre
Latest... (2 Replies)
Discussion started by: kishorekumar87
2 Replies
9. UNIX for Dummies Questions & Answers
It's easy but I'm searching how to work with fonts (besides) emerging them.
/etc/conf.d/consolefont (consolefont=" ") - what to write after install, m.b. paths are wrong (emerged /usr/share/fonts/efont-unicode/*.gz). Has it any relation to X11 hieroglyph input?:wall: (1 Reply)
Discussion started by: Xcislav
1 Replies
10. Shell Programming and Scripting
I am trying using awk to open an input file and check a column 2/field $2 and if there is a warning then that is displayed (variantchecker): G not found at position 459, found A instead. The attached Sample1.txt is that file. If in that column/field there is a black space, then the text after... (6 Replies)
Discussion started by: cmccabe
6 Replies
LEARN ABOUT OSX
lwp-dump5.16
LWP-DUMP(1) User Contributed Perl Documentation LWP-DUMP(1)
NAME
lwp-dump - See what headers and content is returned for a URL
SYNOPSIS
lwp-dump [ options ] URL
DESCRIPTION
The lwp-dump program will get the resource indentified by the URL and then dump the response object to STDOUT. This will display the
headers returned and the initial part of the content, escaped so that it's safe to display even binary content. The escapes syntax used is
the same as for Perl's double quoted strings. If there is no content the string "(no content)" is shown in its place.
The following options are recognized:
--agent str
Override the user agent string passed to the server.
--keep-client-headers
LWP internally generate various "Client-*" headers that are stripped by lwp-dump in order to show the headers exactly as the server
provided them. This option will suppress this.
--max-length n
How much of the content to show. The default is 512. Set this to 0 for unlimited.
If the content is longer then the string is chopped at the limit and the string "...
(### more bytes not shown)" appended.
--method str
Use the given method for the request instead of the default "GET".
--parse-head
By default lwp-dump will not try to initialize headers by looking at the head section of HTML documents. This option enables this.
This corresponds to "parse_head" in LWP::UserAgent.
--request
Also dump the request sent.
SEE ALSO
lwp-request, LWP, "dump" in HTTP::Message
perl v5.16.2 2012-01-13 LWP-DUMP(1)