And now the obligatory question: is this a homework question? If so, we can't help you.
That's against rule 6:
Do not post classroom or homework problems.
Assuming that it's not, can you show us how far you've gotten so far?
Regards
Well Its not an Class Room as well as homework problem.. I am trying to make some real world test result documentation script.As i am new to shell domain.. I am not able to figure out this that easily, Till now I have done this much
With this I am able to read my file properly but the data is not coming with proper indentation, It is loosing its initial spacing which I dont want.
This is the file am having:
"40","1G1AL55 ",30482,9000
"40","1G1ZT58 ",29098,10600
"40","1G1AL15 ",29222,9400
"46","1G6KD57 ",3083,28400
"46","1G6KD57 ",27909,25200
"49","1G1ZU57 ",16391,13900
"49","1G2ZG58 ",28856,12400
I want to display the output in three files... (23 Replies)
Hi all,
I have many files that have 1 or more occurrences of the information I want. There are two distinct sets of information. I want get this info and place each occurrence in its own file.
The 3 lines before one set are
this grid
00 01 02
16 17 18
**40 lines of code I want to... (5 Replies)
OS : Linux 2.6.9-67 - Red Hat Enterprise Linux ES release 4
Looking for a script that reads the following log files that gets generated everynight between 2 - 5am
Master_App_20090717.log
Master_App1_20090717.log
Master_App2_20090717.log
Master_App3_20090717.log... (2 Replies)
Hello,
Please advise. Scoured this site, as well as google for answers. However if you do not know what to search for, it's a bit hard to find answers.
INPUT:
ACTASS=
802
BASECOS=
279
COSNCHG=
3
CUSCOS=
52
UPLDCOS=
2
DESIRED OUTPUT:
ACTASS=802
BASECOS=279 (13 Replies)
Hi, guys. I have a question. Please help me~
I got an text, recording the weather reports. It is the Attachment "Weather Forcast_original.txt"
I want to get the required result like the attachment "Weather Forcast_formatted.txt"
I thought about the loop, the conditions, but I'm surely... (3 Replies)
Hi I would appreciate your help with this.
I have a output file from a command. It is broken based on initial of the users. Exmaple of iitials MN & SS. Under each section there is information pertaining to the user however each section can have different number of lines. MY challenge is to ... (5 Replies)
Hi Gurus,
I have requirement to compare current result with previous reuslt.
The sample case is below.
1 job1 1
1 job2 2
1 job3 3
2 job_a1 1
2 job_a2 2
2 job_a3 3
3 job_b1 1
3 job_b2 2
for above sample file, GID is group ID, for input line, the job run... (1 Reply)
HI,
I have 2 text files. file1 and file2.
file1.txt (There are no duplicates in this file)
1234
3232
4343
3435
6564
6767
1213
file2.txt
1234,wq,wewe,qwqw
1234,as,dfdf,dfdf
4343,asas,sdds,dsds
6767,asas,fdfd,fdffd
I need to search each number in file1.txt in file2.txt's 1st... (6 Replies)
Discussion started by: Little
6 Replies
LEARN ABOUT NETBSD
rcs2log
RCS2LOG(1) BSD General Commands Manual RCS2LOG(1)NAME
rcs2log -- RCS to ChangeLog generator
SYNOPSIS
rcs2log [-c changelog] [-h hostname] [-i indent] [-l length] [-R] [-r option] [-t tabwidth] [-u login<TAB>fullname<TAB>mailaddr] [-v]
[--help] [--version] [file ...]
DESCRIPTION
The rcs2log utility generates a change log prefix from RCS files (perhaps in the CVS repository) and the ChangeLog (if any).
The options are as follows:
-c changelog
Output a change log prefix to changelog (default ChangeLog).
-h hostname
Use hostname in change log entries (default current host).
-i indent
Indent change log lines by indent spaces (default 8).
-l length
Try to limit log lines to length characters (default 79).
-R If no file(s) are given and RCS is used, recurse through working directory.
-r option
Pass option to subsidiary log command.
-t tabwidth
Tab stops are every tabwidth characters (default 8).
-u login<TAB>fullname<TAB>mailaddr
Assume login has fullname and mailaddr.
-v Append RCS revision to file names in log lines.
--help Output help.
--version
Output version number.
SEE ALSO rcs(1), rcsintro(1), rlog(1), rcsfile(5)AUTHORS
Paul Eggert <eggert@twinsun.com>
BUGS
Report bugs to <bug-gnu-emacs@gnu.org>.
BSD February 15, 2003 BSD