Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
Open

try #35

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions 1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
while read line
do
if [[ $line == *"HACK"* ]]
then
echo "Found at line $line"
fi
done < file.txt
8 changes: 8 additions & 0 deletions 2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
while read line
do
if [[ $line == *"1234567890"* ]]
then
echo found at line $line
fi
done < file.txt

8 changes: 8 additions & 0 deletions 3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
while read line
do
if [[ $line == *"ftp"* ]]
then
echo found at line = $line
fi
done < file.txt

8 changes: 8 additions & 0 deletions 4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
while read line
do
if [[ $line == *"hackIT"* ]]
then
echo found at line = $line
fi
done < file.txt

7 changes: 7 additions & 0 deletions Assignment_1/210357_Divyansh/1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
while read line
do
if[[ $line == *"HACK"* ]]
then
echo "found at line = $line"
fi
done < file.txt
7 changes: 7 additions & 0 deletions Assignment_1/210357_Divyansh/2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
while read line
do
if[[ $line == *"0123456789 "* ]]
then
echo "found at line = $line"
fi
done < file1.txt
7 changes: 7 additions & 0 deletions Assignment_1/210357_Divyansh/3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
while read line
do
if [[ $line == *"ftp"* ]]
then
echo "found at line = $line"
fi
done < file1.txt
7 changes: 7 additions & 0 deletions Assignment_1/210357_Divyansh/4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
while read line
do
if [[ $line == *"hackIT"* ]]
then
echo "found at line = $line"
fi
done < file1.txt
657 changes: 657 additions & 0 deletions Assignment_1/210357_Divyansh/file.txt

Large diffs are not rendered by default.

657 changes: 657 additions & 0 deletions Assignment_1/210357_Divyansh/file1.txt

Large diffs are not rendered by default.

657 changes: 657 additions & 0 deletions file.txt

Large diffs are not rendered by default.