I have a file which contains so many lines and variable
number of lines are treated as a record. For example
*first ooooo xxxxx
ttttt mmmm vvvvvvv
*end uuu bbbb
*first kkkkvvvvvv
nnnn mmmmm kkkkk
fffff gggg ffff
kkkk
lllll
*end.
Here the lines from *first to *end are treated as a record.
The number of lines between *first and *end is not same for
all the records.
Suppose there are 100 records (or number of records are not
predefined)like the format given in the above example. Now
the entire file needs to split into two files, first having
40 and remaining in the second file.
Can we split using sort utility? If possible then what is
the sort card?
No Answer is Posted For this Question
Be the First to Post Answer
Other Programming Code AllOther Interview Questions
Question
Asked @
Answers
Write a sql query to find n'th maximum in the database
table.
i wrote from two tables (employee and department)
1.select * from employee,department; (it is cartesian
product) but
2.select * from employee department; (?????????????????)
by default it displays the employee table,what is the
reason it is not taking department ???
mail @ mak2786@gmail.com
Arunkumar