Skip to content

Conversation

@oyershov
Copy link

No description provided.

@vpetrusenko
Copy link
Owner

Please stash everything into one commit

echo "Hello, $1!"
else
echo "Hello, World!"
fi
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

for i in $str
do
ls -R | grep -Fi $i || echo "the searched PATH is unexisting"
done
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

awk -F: '{print $1}' .f
done
rm .f
fi
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do it without file creation

fi

echo $2 | cut -d'/' -f 2
grep -in $1 $2 | cut -d : -f 1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No args and Without first arg tests are failed

summ=$(echo $(( "$summ / $#" )))
fi

echo "$summ"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two flags input test are failed, also please rewrite it with switch statement


if [ $1 ]; then
map $@
fi
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

echo "$answer"
else
echo ''
fi
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

grep -Po '(^|\t)[A-Za-z0-9\.]+@[A-Za-z0-9\.]+\.[A-Za-z0-9\.]+' $2
else
exit 1
fi
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

for i in $@
do
echo "$(awk 'END{print NR}' $i) $i"
done
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

answer+=$(grep -o "$i" $1 | wc -l)
answer+=" ${words[$i]}, "
done
echo "$answer" | sed 's/..$//'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants