To delete spaces from a file:
To do this to a string in the shell you must use echo and pipes.
Thanks so much for the reply. I guess im still quite confused by the question. Am I creating a file with vi called "TEXT" with the content of "onespace, ect.."?
Props to you Linux guys who understand this stuff. I feel so lost in this class. Thanks for the help.
I have the following output. I want to write a script to check for
1. waits > 0 on all rowsand Ratio > .0. if true then send email.
=========================
ROLLBACK SEGMENT CONTENTION
=========================
If any ratio is > .01 then more rollback segments are needed
NAME ... (1 Reply)
How to write a shell script file to read 5 numbers using a while loop. Finding the average, maximum and minumum for the numbers.
Any help would be great. (1 Reply)
Hello ALL,
I am fresher in Unix . i need help to write small shell script . Please help me unix guru.
I am developing the internal site in my office . the data files are generated in one directory everyday .
I have to write shell script to sort those files and put it is internal site .
... (3 Replies)
Hello. I'm trying to write a shell script that will take files that have .tar, .tar.gz, .tar.Z, .gz, .Z and .zip file extensions and uncompress and unarchive them. The script should be able to take multiple arguments. So far I can write a script using the case command that will do this but it will... (3 Replies)
Can anyone please help me in writing a shell script that would check if a particular user(xyz) has logged in, and if yes, the audit daemon needs to be started. When the user logs off the dameon needs to shutdown , and the report needs to be e-mailed to a set of users. (12 Replies)
Hi
I have two files a.log and b.log . i need to append a.log and b.log so that at the end of first line in a.log i need the append the data of first line from b.log and end of the second line in a.log i need to append the data of second line from b.log and so on up to the end of the file
can... (3 Replies)
Hi all,
I have an assignment from school to write a shell program in linux. the idea is to exercise fork() and execv() functions.. the shell program is supposed to be the master and every command that the user prints will run in a new process. we also need to try running the command in every... (1 Reply)
Hi, I'm very new to this, so bear with me please.
I want to write a sh script (or if there's a better format please let me know) that allows me to, when I run it, print the date to a file (1.out) take 2 arguments (files a.fa and b.fa), run them with another program, outputting to 2.out, and then... (4 Replies)
Dear Team,
Below is the list of steps i need to perform manually as of now and completely new to shell scripting, could you help in writing a shell script to perform the below procedure?
1. Log in to primary DNS server
2. Check /etc/named.conf if zone is already created (grep –i... (2 Replies)
Discussion started by: VKIRUPHAKARAN
2 Replies
LEARN ABOUT DEBIAN
ihex2txt
EEP24C(1) General Commands Manual EEP24C(1)NAME
ihex2txt - converts Intelhex format to a simple text format
txt2ihex - converts simple text format to Intelhex
SYNOPSIS
ihex2txt inputfile outputfile
txt2ihex inputfile outputfile
DESCRIPTION
The commands ihex2txt and txt2ihex can be used to edit data in Intelhex format. First you get the original Intelhex file and use ihex2txt
to convert it. Then you edit the text file and convert back to Intelhex using txt2ihex
INTELHEX FORMAT
Intel Hexadecimal Object File Format or simply Intelhex specification can be found at
ftp://download.intel.com/support/processors/
i960/devtools/INTELHEX.PDF
Record types 00 and 01 are implemented in this version. In input lines, LF and CR+LF are accepted as newline markers. Output files are
generated with LF as a newline marker.
TEXT FORMAT
The text format is composed by a line with values separated with spaces. The first value is the initial address, the following values are
the values.
Example: 02B7 07 B9 70 7A 6E
means that the content of address 02B7 is 07, the content of address 02B8 is B9, the content of address 02B9 is 70, ...
SEE ALSO eep24c(1).
AUTHOR
This manual page was written by Pedro Zorzenon Neto <pzn@vztech.com.br>.
2002-11-14 EEP24C(1)