Need advice about which tool to choose?Ask the StackShare community!

AWK

560
49
+ 1
0
Objective-C

12.8K
6.5K
+ 1
490
Add tool

AWK vs Objective-C: What are the differences?

What is AWK? A language for text processing, data extraction and reporting. A data-driven scripting language consisting of a set of actions to be taken against streams of textual data – either run directly on files or used as part of a pipeline – for purposes of extracting or transforming text, such as producing formatted reports.

What is Objective-C? The primary programming language you use when writing software for OS X and iOS. Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

AWK and Objective-C belong to "Languages" category of the tech stack.

AWK is an open source tool with 206 GitHub stars and 41 GitHub forks. Here's a link to AWK's open source repository on GitHub.

According to the StackShare community, Objective-C has a broader approval, being mentioned in 1102 company stacks & 2098 developers stacks; compared to AWK, which is listed in 3 company stacks and 7 developer stacks.

Decisions about AWK and Objective-C
Noel Broda
Founder, CEO, CTO at NoFilter · | 5 upvotes · 261.4K views

1 code deploys for both: Android and iOS. There is a huge community behind React Native. And one of the best things is Expo. Expo uses React Native to make everything even more and more simple. Awesome technologies. Some other important thing is that while using React Native, you are reusing all JavaScript knowledge you have in your team. You can move easily a frontend dev to develop mobile applications.

A huge PRO of Expo, is that it includes a full building process. You run 1 line in the terminal, and 10 minutes after you have 2 builds done. Double check EAS Expo.

See more
Justin Dorfman
Open Source Program Manager at Reblaze · | 1 upvote · 95.5K views

If you have a file (demo.txt) that has 3 columns:

Column-1    Column-2    Column-3
Row-1a      Row-2a      Row-3a         
Row-1b      Row-2b      Row-3b
Row-1c      Row-2c      Row-3c
Row-1d      Row-2d      Row-3d
Row-1e      Row-2e      Row-3e

and you want to only view the first column of the file in your CLI, run the following:

awk {'print $1'} demo.txt

Column-1
Row-1a
Row-1b
Row-1c
Row-1d
Row-1e

If you want to print the second column of demo.txt, just replace $1 with $2

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of AWK
Pros of Objective-C
    Be the first to leave a pro
    • 212
      Ios
    • 115
      Xcode
    • 62
      Backed by apple
    • 47
      Osx
    • 40
      Interface builder
    • 10
      Good old fashioned ooe with a modern twist
    • 2
      Goober, please
    • 1
      Object-oriented
    • 1
      Handles well null values (no NullPointerExceptions)

    Sign up to add or upvote prosMake informed product decisions

    Cons of AWK
    Cons of Objective-C
      Be the first to leave a con
      • 1
        UNREADABLE

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is AWK?

      A data-driven scripting language consisting of a set of actions to be taken against streams of textual data – either run directly on files or used as part of a pipeline – for purposes of extracting or transforming text, such as producing formatted reports.

      What is Objective-C?

      Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use AWK?
      What companies use Objective-C?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with AWK?
      What tools integrate with Objective-C?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to AWK and Objective-C?
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      Perl
      Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.
      JavaScript
      JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
      Node.js
      Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
      HTML5
      HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
      See all alternatives