![]() Based on the content and mention of the same name in other texts dated to ancient and medieval era centuries, most scholars agree that Vishnusharma is a fictitious name. Some South Indian recensions of the text, as well as Southeast Asian versions of Panchatantra attribute the text to Vasubhaga, states Olivelle. ![]() It is unclear, states Patrick Olivelle, a professor of Sanskrit and Indian religions, if Vishnusharma was a real person or himself a literary invention. He is stated to be teaching the principles of good government to three princes of Amarasakti. The prelude section of the Panchatantra identifies an octogenarian Brahmin named Vishnusharma ( IAST: Viṣṇuśarman) as its author. In Laos, a version is called Nandaka-prakarana, while in Thailand it has been referred to as Nang Tantrai. Several versions of the text are also found in Indonesia, where it is titled as Tantri Kamandaka, Tantravakya or Candapingala and consists of 360 fables. In Germany, its translation in 1480 by Anton von Pforr has been widely read. Most European versions of the text are derivative works of the 12th-century Hebrew version of Panchatantra by Rabbi Joel. The book is also known as The Fables of Bidpai (or Pilpai in various European languages, Vidyapati in Sanskrit) or The Morall Philosophie of Doni (English, 1570). Rendered in prose by Abu'l-Ma'ali Nasrallah Monshi in 1143 CE, this was the basis of Kashefi's 15th-century Anvār-i Suhaylī (The Lights of Canopus), which in turn was translated into Humayun-namah in Turkish. A New Persian version by Rudaki, from the 3rd century Hijri, became known as Kalīleh o Demneh. This became the basis for a Syriac translation as Kalilag and Damnag and a translation into Arabic in 750 CE by Persian scholar Abdullah Ibn al-Muqaffa as Kalīlah wa Dimnah. The earliest known translation into a non-Indian language is in Middle Persian (Pahlavi, 550 CE) by Burzoe. And most of the stories contained in it have "gone down" into the folklore of the story-loving Hindus, whence they reappear in the collections of oral tales gathered by modern students of folk-stories. it has been worked over and over again, expanded, abstracted, turned into verse, retold in prose, translated into medieval and modern vernaculars, and retranslated into Sanskrit. Its range has extended from Java to Iceland. before 1600 it existed in Greek, Latin, Spanish, Italian, German, English, Old Slavonic, Czech, and perhaps other Slavonic languages. One version reached Europe in the 11th century. There is a version of Panchatantra in nearly every major language of India, and in addition there are 200 versions of the text in more than 50 languages around the world. It is "certainly the most frequently translated literary product of India", and these stories are among the most widely known in the world. It is likely a Hindu text, and based on older oral traditions with "animal fables that are as old as we are able to imagine". The text's author is unknown, but it has been attributed to Vishnu Sharma in some recensions and Vasubhaga in others, both of which may be fictitious pen names. The surviving work is dated to about 200 BCE, but the fables are likely much more ancient. ![]() The Panchatantra ( IAST: Pañcatantra, ISO: Pañcatantra, Sanskrit: पञ्चतन्त्र, "Five Treatises") is an ancient Indian collection of interrelated animal fables in Sanskrit verse and prose, arranged within a frame story. A Panchatantra relief at the Mendut temple, Central Java, Indonesia
0 Comments
![]() I wanted to get words having two occurrences of consecutive repeated characters. As far as I know, no implementation of Awk supports backreferences within regexp definition. This bug is seen in at least GNU implementations of grep and sed. There’s a problem with backreferences in glibc that I found and reported for grep. Perl, however, has the same bugs everywhere. Which version you use can give different results. GNU versions, for example, may have some bugs that other implementations may not have. Some other regexp libraries have problems tied to whatever they use to implement them. Sed is Turing complete and Awk is a programming language, so you can write code for it if you wish, in addition to the code you’d need for escaping the metacharacters. Avoid using shell variables to save their contents, since trailing newlines and ASCII NUL characters will require special attention.Īwk and sed do not have an equivalent option to slurp the entire input file content. Note that in the above solution, contents of search.txt and replace.txt are also processed by the Perl command. Print s/\Q$s/$r/gr' search.txt replace.txt ip.txt P, -perl-regexp Interpret PATTERNS as Perl-compatible regular expressions. This is highly experimental and grep -P may warn of unimplemented features. Typically PATTERNS should be quoted when grep is used in a shell command. ![]() If I had known about Perl one-liners, I could have easily utilized find and Bash globs to make my life easier, for example: Interpret PATTERN as a Perl regular expression. Once, I even opened the files as Vim buffers and applied a bufdo command to see if that would make my workflow simpler. I didn’t know about Perl’s options for one-liners, so I used to modify a script whenever I had to do substitutions for multiple files. For this task, I am given 35-40 files (5 renditions of 7 or 8 files at different qualities) every night, and I need to extract a part of the filename. I used Vim and Perl for all sorts of text processing needs. 30 Answers Sorted by: 276 Grep is an awkward tool for this operation. 1 I'm trying to move away from AppleScripts for workflows at my job, and create something simpler that can run in the background instead. ![]() My working knowledge of Linux command line was limited at that time and I didn’t know how to use sed or Awk. One-liners or scripts?įor assembly-level testing of a digital signal processing (DSP) chip, I had to replicate the same scenario for multiple address ranges. However, Perl may have slower performance compared to specialized tools and can be more verbose. Perl has a feature rich regular expression engine, built-in functions, an extensive ecosystem, and is quite portable. Perl is the most robust portable option for text processing needs. Sometimes you can use Perl either as a single replacement or a complement to them for specific use cases. External commands like grep, sed, Awk, sort, find, or parallel can be combined to work with each other. A shell (like Bash) provides built-in commands and scripting features to easily solve and automate various tasks. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |