I'm declaring like below.
my program is like this ... but it is giving error like
but giving the output properly...
can u please tell me y it is giving like this?
Thanks
Srivani
Last edited by Franklin52; 07-22-2011 at 07:06 AM..
Reason: Please use code tags for code and data samples, thank you
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
Hello, all!
Working in a Bourne shell. What command would list the filename and size of a file if the size of the file had to be bigger than $a and smaller than $b?
Output (if $a is 10 bytes and $b is 50 bytes):test1.txt 15
test2.txt 30
test3.txt 50
Thanks,
Ann :p (3 Replies)
Need unix commands to delete records from one file if the same record present in another file...
just like join ... if the record present in both files.. delete from first file or delete the particular record and write the unmatched records to new file..
tried with grep and while... (6 Replies)
a. How do I display the content of the file containing what Ive merged using a filter which would display only the lines of the file which don't contain number, for example 3 or 6. (3 Replies)
Hi
I have got two files
File1:
Row1
Row2
Row3
Row4
File2:
Row3
Row4
Now my requirement is search each and every line of file1 in file2 and if the record do not exist in file2 then write that to an output file.
Output file should be as below
Row1
Row2 (4 Replies)
Hello
Wondering if anybody can advise me how I can sort the below file so it only displays lines with the latest versions of an object? As you'll see some of the scripts listed in my file have more than one version number (version number is after the file extension). E.g. cdm_bri.pkb has... (2 Replies)
Hi
when trying to install the package initially that i have created on to the target host, i am getting error as below for all the files/directories during pkgadd.
WARNING: filename <not present on Read Only file system>
...........
...........
and so on.
When i do the second attempt to... (1 Reply)
hi gurus,
I am having a file containing a list of tables.i want to find the count of records inside thes tables.
for this i have to connect into database and i have to put the count for all the tables inside another file i used the following loop once all the tablenames are inside the file.
... (1 Reply)
dear all,
supose there is file called myfile.txt and in this file there are two records..
like this way:-
myfile.txt
records 1 A:B:C:D:E
records 2 B:C:A:F:G
I have to find A and display output as "in myfile.txt in record1 A has feild 1 and in myfile.txt in record2 A... (2 Replies)
I have a file that has 1k lines and i want to print all the lines after 900th line.
an 2)I want to move files f1 ,f2,f3,f4 to p1,p2,p3,p4
Please give me the commands.
Thanx in adv. (6 Replies)