Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAI support for notqmail #197

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
replaced echo with printf
  • Loading branch information
mbhangui committed Dec 7, 2020
commit a731d821a2de7b50d767df2a2ed68ee1d47d4d60
2 changes: 1 addition & 1 deletion tests/get_function
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
start_line=`grep -n "^$1" $2|cut -d: -f1`
sed -n "$start_line,$"p $2 | while IFS= read -r "line"
Copy link

Choose a reason for hiding this comment

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

would sed -n "/^$1/,/}/ p" "$2" not do the same? Also, pointers would not work, but we admittedly have to encounter this case before working around it...

do
echo "$line"
printf "%s\n" "$line"
if [ " $line" = " }" ] ; then
break
fi
Expand Down