Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 179685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:27:03+00:00 2026-05-11T14:27:03+00:00

The problem is related to my answer here . I cannot get the following

  • 0

The problem is related to my answer here.

I cannot get the following code to work

#!/bin/bash  wget http://www.google.com/coop/cse?cx=017685108214920485934%3Aizx6pzojwka -O CSE-spanien awk '/^searches [1-9]* sites, including:/ { print $2 }' CSE-spanien 

Example of the Error message [edited]

$./code --2009-04-14 19:01:32--  http://www.google.com/coop/cse?cx=017685108214920485934%3Aizx6pzojwka Resolving www.google.com... 74.125.79.103, 74.125.79.99, 74.125.79.147, ... Connecting to www.google.com|74.125.79.103|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `cse?cx=017685108214920485934:izx6pzojwka.6'      [ <=>                                                                                                               ] 8,096       --.-K/s   in 0s        2009-04-14 19:01:33 (78.0 MB/s) - `cse?cx=017685108214920485934:izx6pzojwka.6' saved [8096]  ./code: line 3: -O: command not found awk(57264) malloc: *** error for object 0x4eee0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug awk: cmd. line:1: fatal: cannot open file `/Users/Masi/Documents/test/CSE-spanien' for reading (No such file or directory) 

How can you run AWK in a Bash script?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:27:03+00:00Added an answer on May 11, 2026 at 2:27 pm

    You’re missing -O CSE-spanien at the end of your wget line. As a result, CSE-spanien doesn’t exist – wget is saving it the HTML with the filename cse?cx=017685108214920485934:izx6pzojwka.2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to solve the following question which i can't get to work by
I have a problem related to graph. I am not a computer science grad
I have a problem related to the subset sum problem and am wondering if
I have a problem which I think is related to forward declarations, but perhaps
Note: this is a different problem to https - it's related to privacy security
Problem is described and demonstrated on the following links: Paul Stovell WPF: Blurry Text
There are some related questions here and here , but they didn't really give
This is a CSS related question, I got one good answer from my previous
its me again with a php problem :) Following is part of my PHP
Though 99% of the code on our site is the work of 1 programmer,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.