03-12-2013
Quote:
Originally Posted by
Franklin52
Have you tried the gawk version for windows?
Not tried yet.
Could you please give me some details about this. So i can proceed further.
Thanks
---------- Post updated at 05:25 PM ---------- Previous update was at 03:06 PM ----------
Hi Franklin52,
Thanks for suggestion.
Tried with gawk version on windows. It works like charm..
Thanks a lot
for this just need to install gawk for windows and can be used as awk..
Thanks
pamu
This User Gave Thanks to pamu 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 DEBIAN
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)