• API
• FAQ
• Tools
• Archive
daily pastebin goal
52%
SHARE
TWEET

# Untitled

a guest Feb 22nd, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. Deepu#First#Meridian#95#90
2. Neethu#Second#Meridian#80#75
3. Sethu#First#DAV#75#70
4. Theekshana#Second#DAV#80#79
5. Teju#First#Sangamithra#88#63
6. Theekshitha#Second#Sangamithra#91#90
7.
8. Deepu|First|Meridian|95|90|92.5
9.
10. \$ awk -F'#' ' { if((\$4+\$5)/2 >90) {print \$1 "|" \$2 "|" \$3 "|" \$4 "|" \$5 "|" (\$4+\$5)/2 }} input.txt .
11.
12. awk -F'#' ' { if((\$4+\$5)/2 >90) {print \$1 "|" \$2 "|" \$3 "|" \$4 "|" \$5 "|" (\$4+\$5)/2 }} input.txt
13.
14. awk -F'#' ' { if((\$4+\$5)/2 >90) {print \$1 "|" \$2 "|" \$3 "|" \$4 "|" \$5 "|" (\$4+\$5)/2 }}' input.txt
15.
16. awk -F '#' -v OFS='|' '(\$4+\$5)/2 > 90 { \$(NF+1) = (\$4+\$5)/2; print }' input.txt
17.
18. awk -F '#' -v OFS='|' '(\$(NF+1) = (\$4+\$5)/2) > 90' input.txt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top