ABORT(3am)

πŸ“¦
version 1.0.1 Β· 2 versions
, in fedora 43, fedora 44

πŸ’€ ABORT β€” the abort(3am) page, bestie edition πŸ’…

okay so this is a page from the GNU Awk Extension Modules manual, and honestly? it's giving "I'm leaving and I'm not doing the goodbye dance." let's get into it ✨


🌸 NAME 🌸

abort β€” dip out without running your END rules. like, no cleanup era. at all. 🫢


✨ SYNOPSIS ✨

@load "abort"

abort(11)

πŸ’– DESCRIPTION πŸ’–

the abort extension slides a function named abort() into your gawk session, and here's the whole vibe:

  • abort([exit-val]) β€” this one takes an integer argument and hands that value straight to the exit(3) C library function. if the argument isn't numeric? it passes zero to exit(3) instead. and no matter what β€” no matter what β€” gawk exits. periodt. πŸ’€
ngl bestie, this is the "I said what I said" function. there's no coming back from it. the END rules never get their moment. 🌈

πŸŽ€ EXAMPLE πŸŽ€

@load "abort"
...
printf "Goodbye, cruel world!\n"
abort(11)

the drama of it all 😭 iconic behaviour fr fr


πŸ¦‹ SEE ALSO πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

Arnold D. Robbins β€” the main character who wrote this πŸ’œ


πŸ’… COPYING PERMISSIONS πŸ’…

Copyright Β© 2018, Free Software Foundation, Inc.

Permission is granted to make and distribute verbatim copies of this manual page provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual page under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual page into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation.


and that's the whole page, bestie 🫢 brought to you by the Free Software Foundation, dated Jan 08 2018, and yes the manual page tag really is ABORT(3am) β€” go off, queen πŸ’–βœ¨

πŸ“¦ where this page comes from