03-12-2013
Have you tried the gawk version for windows?
This User Gave Thanks to Franklin52 For This Post:
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys..
How to run a Shell Script into AWK instruction :confused::confused: (3 Replies)
Discussion started by: gandarez
3 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends, I'm trying to retrigger a script if the IN_FILE is empty(except the first line) how many I do this?
script need to be retriggered: /local/temp/scriptex.ksh
right now I have
awk '{if ($2 == "")
{cd /local/temp ./scriptex.ksh}}' $IN_FILE
but doesn't work
Thanks (2 Replies)
Discussion started by: UNovIX
2 Replies
3. Shell Programming and Scripting
Hi i created a unix script ksh that goes to a specific folder/xyz/abc, searches for all the .txt files in it and perform some operation
on these text file. It runs well in Unix server(machine)
Now this script needs to be run on a windows machine having the same folder structure(that is look... (1 Reply)
Discussion started by: mad_man12
1 Replies
4. UNIX for Dummies Questions & Answers
Hey,
For a couple of months, I was using SecureCRT which was satisfying all my needs (keyboard-interactive, sftp ...). Its licence got expired and I no longer want to pay for it.
Is there any SSH program other than Putty, u would suggest as free or less expensive with a user interface like... (3 Replies)
Discussion started by: royalliege
3 Replies
5. Infrastructure Monitoring
Hi I'm new to do community and I've joined because I need a little help.
I'm working a on a school project and I am currently stuck because I must count number of protocol packets from wireshark .pcap file and in order to so I found this .awk script.
BEGIN {
}
{
vrijeme = $2;
if ($5 ==... (3 Replies)
Discussion started by: Review
3 Replies
6. Homework & Coursework Questions
NOTE: I'm not asking that someone do my project for me nor do I need help with logical part of my homework assignment. I just need someone to run the script on a wireshark file and send me output file. This requires 1min of time from experienced awk user and for me it's pain of learning how to... (2 Replies)
Discussion started by: Review
2 Replies
7. Shell Programming and Scripting
Hi all,
i need to run a shell script on remote server. I have created file .bat file in windows server with following code,
c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh
i need to run the script.sh in my remote server
Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies
8. Windows & DOS: Issues & Discussions
Is it possible to run a bash using a by creating an icon or shortcut in windows 7? Everything seems to be for unix or linux and unfortunately my institution is windows.
For example, run bash ~/newbatch.sh by clicking on an icon on a users desktop. Cygwin will be installed as well. Thank you... (8 Replies)
Discussion started by: cmccabe
8 Replies
9. Shell Programming and Scripting
Hi all,
I have a script has been writing for Unix or Linux. Now I want to run under Windows 10. is give me Error:
if:Badly formed number
How to fix this please help
*** This is a copy of a part of Script.
set absolute_gap = 0
if ($min_p_to_p != "" && $min_p_to_p != "N/A" && $min_p_to_t... (5 Replies)
Discussion started by: dovo
5 Replies
LEARN ABOUT HPUX
ddi_dma_numwin
ddi_dma_numwin(9F) Kernel Functions for Drivers ddi_dma_numwin(9F)
NAME
ddi_dma_numwin - retrieve number of DMA windows
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_dma_numwin(ddi_dma_handle_t handle, uint_t *nwinp);
PARAMETERS
handle The DMA handle previously allocated by a call to ddi_dma_alloc_handle(9F).
nwinp Upon a successful return, nwinp will contain the number of DMA windows for this object.
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
ddi_dma_numwin() returns the number of DMA windows for a DMA object if partial resource allocation was permitted.
RETURN VALUES
ddi_dma_numwin() returns:
DDI_SUCCESS Successfully filled in the number of DMA windows.
DDI_FAILURE DMA windows are not activated.
CONTEXT
ddi_dma_numwin() can be called from user, kernel, or interrupt context.
SEE ALSO
ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_unbind_handle(9F)
Writing Device Drivers
SunOS 5.10 29 Sep 1994 ddi_dma_numwin(9F)