Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SpartanBotsAssignment3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roshan Rabinarayan
SpartanBotsAssignment3
Commits
5768960f
Commit
5768960f
authored
Sep 04, 2020
by
Roshan Rabinarayan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added domain .au
parent
95b5546e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
q2/q2.sh
q2/q2.sh
+1
-1
q2/testcase/input/input1
q2/testcase/input/input1
+1
-1
No files found.
q2/q2.sh
View file @
5768960f
...
...
@@ -6,5 +6,5 @@ sed -n '/http[s]\:\/\/www\.cse\.iitb\.ac\.in[/][~][a-z]\{5,15\}/p' temp >url
rm
temp
#trimming $1
sed
-i
-e
's/'
sed
-i
-e
's/[\t ]\+/ /g'
-e
's/[)]\{1\}/ )/g'
-e
's/http[s]\?\:\/\/[^ ]\+/ /g'
-e
's/[ ][^ ^@]\+[.]\{1\}\(com\|in\|org\|net\|co\|us\|edu\|gov\)\{1\}[/]\{0,1\}[^ ^@]\+[ ]\+/ /g'
-e
's/[ ]\{1\}[)]\{1\}/)/g'
$1
sed
-i
-e
's/[\t ]\+/ /g'
-e
's/[)]\{1\}/ )/g'
-e
's/http[s]\?\:\/\/[^ ]\+/ /g'
-e
's/[ ][^ ^@]\+[.]\{1\}\(com\|in\|org\|net\|co\|us\|edu\|gov\
|au\
)\{1\}[/]\{0,1\}[^ ^@]\+[ ]\+/ /g'
-e
's/[ ]\{1\}[)]\{1\}/)/g'
$1
sed
-i
-e
's/[\t ]\+/ /g'
$1
\ No newline at end of file
q2/testcase/input/input1
View file @
5768960f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment