Questions tagged [ack]

ack is a tool like grep, designed for programmers with large trees of heterogeneous source code.

ack is a tool like grep, designed for programmers with large trees of heterogeneous source code. http://beyondgrep.com

262 questions
0
votes
3 answers

Replace script works if I type manually but not in script

I have a bash script, replace.sh with the following contents: ack-grep -a -l -i --print0 --text "$1" | xargs -0 -n 1 sed -i -e 's/$1/$2/g' When I try and run it as, eg: replace.sh something somethingnew The prompt returns without errors but no…
Ludo
  • 2,739
  • 2
  • 28
  • 42
0
votes
1 answer

Unable to make Firefox open Ack's output

I aim to have a list of lines where I use the word NB in my notes. Pseudo-code open -a Firefox `ack -a NB` However, I cannot make Firefox to understand parameters from terminal. The output of Ack is a text-file, so it should be somehow redirected…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
0
votes
0 answers

Aggregation of 2 RabbitMQ messages does not work properly (messages hanging unacked)

I need to listen tasks on 2 queues, so I wrote the code below, but it has a problem. Currently it behaves like this: if the code started when 2 queues were full, it works great. But if queues were empty one of them was, the code reads messages, but…
Ivan
  • 316
  • 3
  • 15
0
votes
0 answers

How to set ACK timeout on MQTT Eclipse paho java?

I was wondering how to set ACK timeout, since on the MqttConnectOptions library doesn't have the set ACK timeout but only timeout from the client to the broker by general. I need to set ACK timeout so that i could customize the time between the…
Jazimanuel
  • 11
  • 2
0
votes
1 answer

TCP Sockets in C: Does the recv() function trigger sending the ACK?

Im working with TCP Sockets in C but yet dont really understand "how far" the delivery of data is ensured. My main problem is that in my case the server sometimes sends a message to the client and expects an answer shortly after. If the client…
0
votes
1 answer

ack: given multiple strings, print which one wasn't found

Given multiple strings to find with ack, is there a way/option/flag that will return the strings that were not found? I.e., in this situation, I want "dog" to be output, as it's not found in the file touch myFile.txt echo 'hello, world' > data.txt…
Chris
  • 11
  • 4
0
votes
1 answer

Displaying search status when searching with ack within Vim

Is there a way to display the search status, when searching with ack within vim? Maybe percentage?
0
votes
0 answers

What does ACK[1448] and PSH/ACK[173]?

im learning for my exams and i found an old exercise with the solution from an older semester: "A TCP connection is established between two computers and data is transferred. Fill in the five missing values in the boxes in the specified timing…
0
votes
1 answer

Wireshark - TCP SYN, SYN ACK and acknowledgement number from server

I have a trace like the shown in the pictures bellow: I want to know the raw sequence number from the segment TCP SYN (1), the raw sequence number from the SYN ACK (2) and the acknowledgement number from the server (3). By expanding the layer 3, I…
icatalan
  • 101
  • 2
  • 10
0
votes
0 answers

awk command inside for loop to read and write multiple files

I have a set of csv files, one of them has a timestamp, all the other ones just have data, but they all have the same number of rows. I would like to append the timestamp to all csv files. This is currently working but instead of writing new files…
emge
  • 67
  • 5
0
votes
0 answers

Dont send ACK after server response

Hey i have a quick question about some ssl stuff. Is there any way NOT to send acknowledgement (ACK) back to the server after its response? What am i doing, is testing a friends webapp, written in PHP i suppose, but i don't have a source code, and i…
Aesthetick
  • 61
  • 3
0
votes
1 answer

how to send ack message to IBM MQ using java

I have a code that reads from the IBM MQ queue manager but I want to be read from IBM MQ without removing the message from the queue, only after I send acknowledge to IBM MQ I want to remove the message this is my IBM reader code : public class…
0
votes
1 answer

Python3 socket.recv without acking

My python program is talking to a device that will delay the conversation by an entire second each time it receives an ack to a push/ack. The conversation is hundreds if not thousands of messages long, so naturally I would like a way around this. Is…
0
votes
1 answer

I2C STM32F4 (slave) no acknowledge bit responded

Hopefully anyone is able to help me with my problem. I'm currently setting um a I2C bus with a FT2232H as master and a STM32F407VGT6 (Discovery-Board) as a slave. I was able to send the slave address correctly from the master but I'm not sure if the…
Mischa Binder
  • 130
  • 11
0
votes
0 answers

Updating MAC adtress table in switches

It's a theoretical question. Let's say I have a switch with 3 ports and 3 PCs with MAC address AA, BB, CC, and ports 1, 2, 3. PC A wants to send a message to PC B so it sends an ARP request or a message with source AA and destination BB? after that,…
Roy Ancri
  • 139
  • 1
  • 2
  • 8