can we say textfile is a database..... as we know that database is a collection of data and database allow easily retrive amd manipulation.... but these things we can also do with textfile...sothat my question is text file is a database or not...
I'd call it a datastore instead. Maybe even a datasource.
Database has the connotation of organization or order. A collection of things in their places. Sometimes they even store non-textual data.
Yes. They can even be treated as entities and used in Unix text tools in relational terms (join,cat(union),grep(select),cut(project)) and use awk
(and perl) for a traditional record-by-record predicate/action programming model (SQL).
I would not however, call a collection of text files a database MANAGEMENT system.
A collection of (usually) organized information in a regular structure, usually but not necessarily in a machine-readable format accessible by a computer; A software program for storing, retrieving and manipulating a database.
A text file does not fit this description.
I believe a text file can be a database, but of course that does not mean every text file is a database. From the wording of your question, it sounds like you're asking are textfiles are databases, and my response is that they can be, but do not have to be.
Database is more than just storage. It is also access to that storage which implies: security, authorization, transactions, relations, etc
Calling it a database may not be invalid, but it will be misleading to a lot of people. Naming something a database often raises the expectation that you can interface against it with some sort of SQL among other things.