summaryrefslogtreecommitdiff
path: root/1088/CH1/EX1.6
diff options
context:
space:
mode:
Diffstat (limited to '1088/CH1/EX1.6')
-rwxr-xr-x1088/CH1/EX1.6/Example6.sce19
-rwxr-xr-x1088/CH1/EX1.6/Result6.pdf104
-rwxr-xr-x1088/CH1/EX1.6/Result6.txt104
3 files changed, 227 insertions, 0 deletions
diff --git a/1088/CH1/EX1.6/Example6.sce b/1088/CH1/EX1.6/Example6.sce
new file mode 100755
index 000000000..1650a8b5d
--- /dev/null
+++ b/1088/CH1/EX1.6/Example6.sce
@@ -0,0 +1,19 @@
+clear
+mode(-1)
+clc
+
+disp("Example 6 : Display all the files in the current directory and files beginning with ->Ex<-")
+printf("\n*******************************************************************\n")
+disp('Answer : ')
+halt('Press [Enter] to continue')
+disp('Files in the current directory ')
+mode(0)
+ls
+mode(-1)
+halt('Press Enter to see files beginning with ->Ex<-')
+printf("\n-------------------------------------------------------------------------------------------------\n")
+disp('Files Beginning with ->Ex<-')
+mode(0)
+ls Ex*
+mode(-1)
+printf("\n*******************************************************************\n")
diff --git a/1088/CH1/EX1.6/Result6.pdf b/1088/CH1/EX1.6/Result6.pdf
new file mode 100755
index 000000000..42786946e
--- /dev/null
+++ b/1088/CH1/EX1.6/Result6.pdf
@@ -0,0 +1,104 @@
+ ans =
+
+ 1.
+
+-->exec('Example6.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 6 : Display all the files in the current directory and files beginning with ->Ex<-
+
+*******************************************************************
+
+ Answer :
+Press [Enter] to continue
+ Files in the current directory
+ ans =
+
+!Result6.txt !
+! !
+!Result5_0.txt !
+! !
+!Result5.txt !
+! !
+!Result5.pdf !
+! !
+!Result4.txt !
+! !
+!Result4.pdf !
+! !
+!Result3.txt !
+! !
+!Result3.pdf !
+! !
+!Result2.txt !
+! !
+!Result2.pdf !
+! !
+!Result1.txt !
+! !
+!Result1.pdf !
+! !
+!Result1.docx !
+! !
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+Press Enter to see files beginning with ->Ex<-
+-------------------------------------------------------------------------------------------------
+
+ Files Beginning with ->Ex<-
+ ans =
+
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+
+*******************************************************************
+
+-->diary('Result6.txt','close')
diff --git a/1088/CH1/EX1.6/Result6.txt b/1088/CH1/EX1.6/Result6.txt
new file mode 100755
index 000000000..42786946e
--- /dev/null
+++ b/1088/CH1/EX1.6/Result6.txt
@@ -0,0 +1,104 @@
+ ans =
+
+ 1.
+
+-->exec('Example6.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 6 : Display all the files in the current directory and files beginning with ->Ex<-
+
+*******************************************************************
+
+ Answer :
+Press [Enter] to continue
+ Files in the current directory
+ ans =
+
+!Result6.txt !
+! !
+!Result5_0.txt !
+! !
+!Result5.txt !
+! !
+!Result5.pdf !
+! !
+!Result4.txt !
+! !
+!Result4.pdf !
+! !
+!Result3.txt !
+! !
+!Result3.pdf !
+! !
+!Result2.txt !
+! !
+!Result2.pdf !
+! !
+!Result1.txt !
+! !
+!Result1.pdf !
+! !
+!Result1.docx !
+! !
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+Press Enter to see files beginning with ->Ex<-
+-------------------------------------------------------------------------------------------------
+
+ Files Beginning with ->Ex<-
+ ans =
+
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+
+*******************************************************************
+
+-->diary('Result6.txt','close')