Sponsored Content
Top Forums Shell Programming and Scripting How can I make running gawk scripts more user-friendly in a Windows environment? Post 302249313 by jonathanm on Tuesday 21st of October 2008 06:01:12 AM
Old 10-21-2008
Thanks for the excellent advice, it has only one major draw-back and that is that I do not know any VB, I wouldn't even know where to start. Care to give me a few pointers please? Smilie
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

User friendly

Hello, As a newbie: I know that ls -l list files in a directory.Can i get a Bash script that prints the same information as ls -l but ib a user friendly way? Thank you. (3 Replies)
Discussion started by: debut
3 Replies

2. Windows & DOS: Issues & Discussions

Running UNIX in windows environment ?

Hi... I have planned to run UNIX application in window environment such as cygwin. Actually, I have download the "cygwin" software but there are some libraries are not applicable in the software. Due to that, anybody know any others unix sofware can be run in windows XP environment ? (1 Reply)
Discussion started by: bh_hensem
1 Replies

3. UNIX for Advanced & Expert Users

User friendly Unix ksh prompt to type directories/files

Hello, I wanted to setup user friendly ksh command prompt, by typing first character of files or directories and then tab bring up whole word. No need to type whole file/directory/command names. Example: cat a file like university just typing un and then tab bring up whole university wod.... (3 Replies)
Discussion started by: abdurrouf
3 Replies

4. Windows & DOS: Issues & Discussions

Cannot run command line scripts in perl or gawk

I originally posted this to a different forum (I am a new Perl user) and realized the error so I will ask here. I am on a WindowsXP machine trying to run perl and gawk scripts from the command line. I have perl and gawk installed and environment set to C:\perl\bin and cannot get a script to... (2 Replies)
Discussion started by: 10000springs
2 Replies

5. Windows & DOS: Issues & Discussions

Gawk Script in Windows batch file - Help

Good morning all. I have been running into a problem running a simple gawk script that selects every third line from an input file and writes it to an output file. gawk "NR%3==0" FileIn > FileOut I am attempting to run this command from a batch file at the command line. I have several hundred... (6 Replies)
Discussion started by: 10000springs
6 Replies

6. Shell Programming and Scripting

Gawk help (windows)

Someone help please. I tried to do it with findstr but I couldn't, so now I'm trying to output the following numbers from this text file with gawk (what I need is in bold down below): Analyzing pool.ntp.org (1 of 1)... delayoffset from local clock Stratum: 2 Warning: Reverse name... (18 Replies)
Discussion started by: harris_t
18 Replies

7. Windows & DOS: Issues & Discussions

Gawk on Windows: Joining lines only if 1st field matches

Hi.. i have two files:: file_1:: mOnkey huMAnfile_2:: Human:hates:banana i:like:*** Monkey:loves:banana dogs:kill:catsdesired output:: Monkey:loves:banana Human:hates:bananaso only when the 1st field matches from both files print it from file_2 ((case-sensitive)) i also would like... (21 Replies)
Discussion started by: M@LIK
21 Replies

8. Red Hat

Mulitpath user-friendly name is correct

We have device mapper multipath configured. multipath -ll is showing things correctly. But when ever we are executing lvm related command, say pvs, it is showing /dev/mpath/<wwid> number instead of expected /dev/mpath/mpathX as follows - /dev/mpath/360060e801603c800000103c800002b22 Here,... (0 Replies)
Discussion started by: atanubanerji
0 Replies
posix_fadvise(2)						System Calls Manual						  posix_fadvise(2)

NAME
posix_fadvise(), posix_fadvise64() - file advisory information SYNOPSIS
Parameters fd The open file descriptor to which the fadvise operation applies. offset The begining of the specified range as a positive, byte offset. len The length of the specified range in bytes. advice Specifies advice to be applied to range. DESCRIPTION
The function is used to advise the system about the expected behavior of the application with respect to the data in the file associated with the open file descriptor, fd, starting at offset and continuing for len bytes. The specified range need not currently exist in the file. If len is zero, all data following offset is specified. It should be noted that the effect of all hints is cumulative for a given file object. All hints will be removed on processing the last close of the file object. The function may be used for large file access by a 32-bit application built with set to 64. The advice parameter is used to convey the hint to be applied to the data and may be one of the following values: Specifies that the application has no advice to give on its behavior with respect to the specified data. It is the default characteristic if no advice is given for an open file. Specifies that the application expects to access the specified range of data sequentially from the lower offsets to higher offsets. Specifies that the application will expect to access the specified specified range of data in a random order. Specifies that the application will expect to access the specified range of data in the near future. Specifies that the application will expect that it will not access the specified range of data in the near future. Specifies that the application will expect to access the specified range of data once and then not reuse it thereafter. These values will be defined in RETURN VALUE
Successful completion. Failure. is set to indicate the error. ERRORS
If the service fails, is set to one of the following values: The fd argument is not a valid file descriptor. The fd argument is associated with a pipe or FIFO. The posix_fadvise operation is not supported by the underlying file system. The value of advice or one of the other input values has been found to be invalid. A designated hint is not supported by the underlying file object. EXAMPLES
AUTHOR
was derived by HP from the IEEE POSIX 1003.1-2001 Standard. SEE ALSO
fadvise(2), fcntl(2), fadvise(5), fcntl(5). STANDARDS CONFORMANCE
posix_fadvise(2)
All times are GMT -4. The time now is 08:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy