I am trying to assign the contents of file e.g
ls "$HOME"
into an array. If it is possible then please guide me without using the concept of awk,sed, and perl16
Thanks (10 Replies)
Greetings folks,
I am trying to assign the output of a dscl command (contains name<spaces>id) to a variable as an array. Currently I am piping the output into a tmp file, then reading the tmp file into an array, then parsing the array. I would like to bypass creating the tmp file portion of... (6 Replies)
I want to ask the user to enter an X amount of file names. I want to put those names into an array and then loop back through them to verify they are in the directory. 1st- How would I assign the value to an array and what is the correct syntax. 2nd- how would i reference that array after I... (3 Replies)
Hi,
I have a piece of code as follows:
i=0
while read LINE
do
var = "$LINE"
i=$((i+1))
echo "${var}"
done < file
I want to assign value to the array var.
However, when i execute the script i get a error.
Please can you help me know what i am missing.
I ultimately want to... (2 Replies)
Hi every one.. I'm new to shell scripting... I would like to assign a single array element to a variable... Is it possible to do it....
Could any body help me.... (3 Replies)
Hello
I have a text file with the next pattern
Name,Year,Grade1,Grade2,Grade3
Name,Year,Grade1,Grade2,Grade3
Name,Year,Grade1,Grade2,Grade3
I want to assign to external variables the grades using the awk method.
After i read the file line by line in order to get the grades i use this
... (2 Replies)
Hello,
I am running a bash script under linux which first defines an CA-array like
j=0
num1=120.00
num2=10.00
until
do
CA='echo $num1 + $j*$num2'
j=$
done
within the later awk section of this same script I want to read data from a file. If the value of the second column is... (3 Replies)
I wish to assign file names with particular extention to array variables. For example if there are 5 files with .dat extention in /home/sam then i have to assign these 5 files to an array.
plz help me how to accomplish this.
Thanks in advance. (4 Replies)
Hi All,
I need to read two config files in a shell script. In that I need to assign a value from one config file to another. I 'm using bash.
config_env.txt
prefix=tab_
config_properties.txt
table_name=${prefix}account
So, when I read these two files in a shell script, I need... (6 Replies)
i have this basic code that i wrote to read a file and place it's values to an array. the source/input file will have multiple strings on it that is separated by a whitespace.
sample_list.txt file contents:
ACCT1 TABLE1
ACCT2 TABLE2
ACCT3 TABLE3
script file: sample_list.sh
... (3 Replies)
Discussion started by: wtolentino
3 Replies
LEARN ABOUT LINUX
wxstyledtextevent
wxStyledTextEvent(3erl) Erlang Module Definition wxStyledTextEvent(3erl)NAME
wxStyledTextEvent - See external documentation: wxStyledTextEvent.
DESCRIPTION
See external documentation: wxStyledTextEvent .
Use wxEvtHandler:connect/3 with EventType: :
stc_change , stc_styleneeded , stc_charadded , stc_savepointreached , stc_savepointleft , stc_romodifyattempt , stc_key , stc_dou-
bleclick , stc_updateui , stc_modified , stc_macrorecord , stc_marginclick , stc_needshown , stc_painted , stc_userlistselection ,
stc_uridropped , stc_dwellstart , stc_dwellend , stc_start_drag , stc_drag_over , stc_do_drop , stc_zoom , stc_hotspot_click ,
stc_hotspot_dclick , stc_calltip_click , stc_autocomp_selection
See also the message variant #wxStyledText{ } event record type.
This class is derived (and can use functions) from:
wxCommandEvent
wxEvent
DATA TYPES
wxStyledTextEvent() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
getPosition(This::wxStyledTextEvent()) -> integer()
See external documentation .
getKey(This::wxStyledTextEvent()) -> integer()
See external documentation .
getModifiers(This::wxStyledTextEvent()) -> integer()
See external documentation .
getModificationType(This::wxStyledTextEvent()) -> integer()
See external documentation .
getText(This::wxStyledTextEvent()) -> string()
See external documentation .
getLength(This::wxStyledTextEvent()) -> integer()
See external documentation .
getLinesAdded(This::wxStyledTextEvent()) -> integer()
See external documentation .
getLine(This::wxStyledTextEvent()) -> integer()
See external documentation .
getFoldLevelNow(This::wxStyledTextEvent()) -> integer()
See external documentation .
getFoldLevelPrev(This::wxStyledTextEvent()) -> integer()
See external documentation .
getMargin(This::wxStyledTextEvent()) -> integer()
See external documentation .
getMessage(This::wxStyledTextEvent()) -> integer()
See external documentation .
getWParam(This::wxStyledTextEvent()) -> integer()
See external documentation .
getLParam(This::wxStyledTextEvent()) -> integer()
See external documentation .
getListType(This::wxStyledTextEvent()) -> integer()
See external documentation .
getX(This::wxStyledTextEvent()) -> integer()
See external documentation .
getY(This::wxStyledTextEvent()) -> integer()
See external documentation .
getDragText(This::wxStyledTextEvent()) -> string()
See external documentation .
getDragAllowMove(This::wxStyledTextEvent()) -> bool()
See external documentation .
getDragResult(This::wxStyledTextEvent()) -> WxDragResult
Types WxDragResult = integer()
See external documentation .
WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel
getShift(This::wxStyledTextEvent()) -> bool()
See external documentation .
getControl(This::wxStyledTextEvent()) -> bool()
See external documentation .
getAlt(This::wxStyledTextEvent()) -> bool()
See external documentation .
AUTHORS
<>
wxErlang 0.98.9 wxStyledTextEvent(3erl)