# Help with shellscript

**URL:** <https://community.unix.com/t/help-with-shellscript/337220>\
**Category:** Shell Programming and Scripting\
**Created:** [December 1, 2013, 11:27am UTC](https://community.unix.com/t/help-with-shellscript/337220 "2013-12-01T11:27:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anbumalar](https://community.unix.com/user_avatar/community.unix.com/anbumalar/32/2970_2.png) [@anbumalar](https://community.unix.com/u/anbumalar)\
**Post date:** [December 1, 2013, 11:27am UTC](https://community.unix.com/t/help-with-shellscript/337220/1 "2013-12-01T11:27:38Z")

</div>

Enter data from keyboard for the following fields of several book records for a library of books:  
� Book accession number  
� Subject code  
� Book\_id  
� Author  
� Year of Publication  
� Title of the book  
� Publisher's name  
� Price  
� Validations to be made:  
� Year of publication must be before 1996  
� Book\_id must be unique.  
� Publisher, Author and the title of the Book cannot be entered blank.  
� Subject code can only be either UNIX or C.  
� The Book accession numbers must be in ascending order.
