01-21-2008
? anyone knows?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, I am new to HP/UX and I would like to know if there is a way to receive system alerts and logs via email on daily bases. Recently our system crashed due to Hard Disk failure, and since then we are checking ELM every day. I would like to automate that process and have UNIX mail send... (3 Replies)
Discussion started by: eurouno
3 Replies
2. UNIX for Advanced & Expert Users
Hi experts,
I need to send email form my sun box but i unable to send?
1) What Basic setting i have to check?
2) We have DNS server running on other system (ISP-DNS 202.62.64.3,Primary-DNS 192.168.10.4 slave-DNS 192.168.10.1)
3) what Files need to be check, what files need to be created.
... (1 Reply)
Discussion started by: saisivakumar
1 Replies
3. UNIX for Dummies Questions & Answers
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xxx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
can anyone provide if this is t he correct way to do this or is there a better way? (1 Reply)
Discussion started by: bpm12
1 Replies
4. Solaris
Does anyone know how to send break on a Blade 100?
I'm using a serial cable on my laptop and I can see the system boot up just fine, but I want to send break so i can have it boot from cdrom instead of disk. (3 Replies)
Discussion started by: em23
3 Replies
5. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
6. Shell Programming and Scripting
Greetings,
I am writing an Expect script to automate multiple processes on an HP-UX system. Everything has gone fine so far but I now have run into a problem. One of the processes that I'm trying to automate requires the key combination of ctrl break and I have so far been unable to figure out... (1 Reply)
Discussion started by: g_trueblood2000
1 Replies
7. Red Hat
we have an exchange server in company as excmailbocx.company.com
i wanna send mail using sendmail from redhat to my exchange mail account
how can it be possible? (1 Reply)
Discussion started by: oguzhantrg
1 Replies
8. Shell Programming and Scripting
Hi
I have input file in solaris machine and my question is..,how to send email that input file to Microsoft outlook 2010 in excel /xls format. (5 Replies)
Discussion started by: buzzme
5 Replies
9. Web Development
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Discussion started by: Little
1 Replies
10. Shell Programming and Scripting
Team,
Presently I have a script, which i have set up cron on one of my Jump-boxes,and gives me the output on every hourly basis,fetching the data from the remote machine.Basically it gives me the list of all active users logged and its count once we execute the script.Here the count is... (6 Replies)
Discussion started by: whizkidash
6 Replies
LEARN ABOUT DEBIAN
unblock_dem
UNBLOCK_DEM(1) General Commands Manual UNBLOCK_DEM(1)
NAME
unblock_dem - Insert linefeeds into a Digital Elevation Model (DEM) file
SYNOPSIS
unblock_dem [-L]
DESCRIPTION
The drawmap program processes USGS Digital Elevation Model (DEM) files (along with other types of files) to produce customized maps.
Drawmap is able to read these files in their native format. However, since the files usually don't contain any linefeeds, they are diffi-
cult for a human to read. Unblock_dem filters a DEM file and inserts linefeeds for human readability. It takes input from the standard
input and writes to the standard output. The input data must be in uncompressed form, not in gzip-compressed form. Also, unblock_dem does
not work with SDTS DEM files or GTOPO30 files.
Unblock_dem normally takes no options, but, if you use the "-L" option, the program will print out some license information and exit.
Some DEM files already have embedded linefeeds. Unblock_dem makes a feeble attempt to detect these files and abort. If the detection
fails, the results are likely to be garbled, so it is wise to check the format of each file first. The drawmap program, with the "-i"
option, will attempt to tell you whether a file contains linefeeds or not.
The intended use of unblock_dem is simply to let you conveniently examine the files to see what is in them. However, if you are in the
mood for adventure, or if you need to repair a defective file, you can use unblock_dem to make the file easy to edit, then you can edit the
file as desired. Drawmap can still process the files after linefeeds are inserted, but will become confused if any line (including the
linefeed) is more than 1024 characters long. Drawmap may also become confused if you make any significant changes to the format of the
file.
You may be able to use this capability to repair faulty data. However, you need to be familiar with the content and structure of DEM files
in order to do this effectively. You also need to remember that drawmap depends on DEM files having a predictable structure, and it won't
properly parse files that violate this predictability. Do this sort of thing only if you know what you are doing, or if you have a lot of
free time on your hands.
It should be noted that you can obtain a similar effect by using the command recommended by the USGS:
dd if=inputfilename of=outputfilename ibs=4096 cbs=1024 conv=unblock
I prefer the unblock_dem command because it simply replaces the last byte of each record with a linefeed. This lets me easily tell how
long the original records were. The effect of unblock_dem or dd can be undone by typing:
dd if=inputfilename of=outputfilename ibs=4096 cbs=1024 conv=block
You may come across files that have a linefeed in the 1025th byte. Drawmap doesn't like these, both because it can't tell (within the
space of the first 1024-byte record) whether the file contains linefeeds or not, and because the records exceed the maximum record length
of 1024 bytes. You may be able to repair such files by blocking them with the above dd command.
SEE ALSO
unblock_dlg(1), drawmap(1)
Jul 24, 2001 UNBLOCK_DEM(1)