10-06-2018
Hi Bakunin,
Thanks for the reply. I had a read up on the select command and it does look like something that could solve this.
I'm using bash but my programming skills are poor and can't get the result I'm looking for.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a question:
Y X
Tabel a is a array multidimensional --> a(1024,20)
I load in to array a Text from 6000 row where:
in a(1,1) is present the row 1 of original text, in a(1024,1) is present then row 1024 of original test and in... (4 Replies)
Discussion started by: ZINGARO
4 Replies
2. UNIX for Advanced & Expert Users
Hello All,
Could anyone help me how to selecting the trays in unix .
Thanks,
Amit kul (3 Replies)
Discussion started by: amit kul
3 Replies
3. Post Here to Contact Site Administrators and Moderators
Maybe I'm missing something but when I go to CP->Options, I see the box for selecting which forum to opt out of but no way to set it. (5 Replies)
Discussion started by: drhowarddrfine
5 Replies
4. Shell Programming and Scripting
Hi there all
I got the following
I got multiple arrays named for example
STAT_AAAA
STAT_AAAB
STAT_AAAC
STAT_AAAD
Now what I want I have chosen an option in a menu to select 1
but I dont want to write for all the same thing so I made it a signle one
now what I want is to get
STAT_ and... (6 Replies)
Discussion started by: draco
6 Replies
5. Shell Programming and Scripting
Hi,
I have a file containing details of different departments . Infomration of departments is in various tags
file is as below
I want to create a new file from the above file which should contain only two fields belonging to one department
format
There are multiple files... (1 Reply)
Discussion started by: test_user
1 Replies
6. Shell Programming and Scripting
Hi,
Please note that as a programmer I cannot tell the file format or details of my production files so I have re-framed my file and taken a case of departments. Kindly guide as its related to a production requirement of data containing recors of production customer NOT A HOMEWORK :)
I have... (10 Replies)
Discussion started by: test_user
10 Replies
7. AIX
Under smit, one has to manually select each fix with F7. there 9000 fixes left to be marked. How Can I manually install/Mark all of these without SMIT.
---------- Post updated at 02:29 PM ---------- Previous update was at 01:15 PM ----------
From the command line
instfix -T -d... (4 Replies)
Discussion started by: mrmurdock
4 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I want to extract all values from table except for those that contain the '*' character in the second column. I tried awk '$2!=*' and this threw a syntax error. Do I need to specify an escape character or != is valid only for numerical comparisons?
Thanks,
Guss (1 Reply)
Discussion started by: Gussifinknottle
1 Replies
9. Shell Programming and Scripting
Hi All,
i have log file sample data is
2010/10/09|04:00:00.392|15Minute|BW=0|192.168.0.1
2010/10/08|04:00:00.392|15Minute|BW=0|192.168.0.1
2010/10/07|04:00:00.392|15Minute|BW=0|192.168.0.1
2010/10/05|04:00:00.392|15Minute|BW=0|192.168.0.1
2010/10/03|04:00:00.392|15Minute|BW=0|192.168.0.1... (2 Replies)
Discussion started by: posner
2 Replies
10. Shell Programming and Scripting
ok im kinda stuck i have a bash script with 4 options
1. Create Script
2. Show Script
3 . Delete script
4. Exithow would i use an if statement for this? im not sure what test command i would use.
I know it would be like this (below) to display the script
if
then cat script1or for the... (10 Replies)
Discussion started by: gangsta
10 Replies
LEARN ABOUT CENTOS
cfg80211_testmode_alloc_reply_skb
CFG80211_TESTMODE_AL(9) Test mode CFG80211_TESTMODE_AL(9)
NAME
cfg80211_testmode_alloc_reply_skb - allocate testmode reply
SYNOPSIS
struct sk_buff * cfg80211_testmode_alloc_reply_skb(struct wiphy * wiphy, int approxlen);
ARGUMENTS
wiphy
the wiphy
approxlen
an upper bound of the length of the data that will be put into the skb
DESCRIPTION
This function allocates and pre-fills an skb for a reply to the testmode command. Since it is intended for a reply, calling it outside of
the testmode_cmd operation is invalid.
The returned skb is pre-filled with the wiphy index and set up in a way that any data that is put into the skb (with skb_put, nla_put or
similar) will end up being within the NL80211_ATTR_TESTDATA attribute, so all that needs to be done with the skb is adding data for the
corresponding userspace tool which can then read that data out of the testdata attribute. You must not modify the skb in any other way.
When done, call cfg80211_testmode_reply with the skb and return its error code as the result of the testmode_cmd operation.
RETURN
An allocated and pre-filled skb. NULL if any errors happen.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 CFG80211_TESTMODE_AL(9)