In the attached bash file I am trying to add a block of code to add2text that will copy the input from match to a text file (file.txt).
For example, if from the menu choice 1 is select the user is asked for the id.... lets say that is 12345, after that id is matched and converted can it be added to a text file in a directory. The name will always be input id{id}_matched.avinput. There may be multiple id's but the .avinput will be the same.
My attempt at this is in the attachment as well. Thank you .
hello everyone,
this is my first time posting here so be nice ;-)
I am a bit new at unix scripting and have basically been hacking other peoples scripts to get them to do what I need. I have now hit a bit of a stop. This problem is very basic but I can't just seem to figure out how to get... (1 Reply)
I wish to replace values of specific parameters in an input file for batch runs of a java code. It's essentially a nested for-loop sorta like this:
valuearray1 contains values for param1
valuearray2 contains values for param2
for (all values in valuearray1)
go into specific position in... (2 Replies)
I have a file that contains hundreds of lines such as:
this_is_macro,000001
this_is_macro,000002
this_is_macro,000003
I would like to add the variable words
MACROBEGIN MACRO_000001
MACROBEGIN MACRO_000002
MACROBEGIN MACRO_000003
above each line
and add the word
MACROEND
... (2 Replies)
Hi all
I have a little brainscratcher here.
I want to draw a pie chart from data in a text file.
The drawing of the graph works fine, if I insert the data manually into a 2d array.
Now I want to pull the data from a text file (which was created using a uniq -c command) see sample below.... (2 Replies)
Hi,
I have an xml file which will be edited by the user.
I would like to get input from user and insert that at line 40 of the xml file.
PLease can some one help me to know how to insert the text at specified line using shell script. (6 Replies)
Hello All,
I'm attempting to use a text file as input to a specific field in a command. Below is the command...
Typically it looks like this
ans_dump testzone.com channel=dnsw32 | grep AAAA
I have about 500 zones I want to check... how do I use my text file as input where the zone name... (2 Replies)
I need to take a text file that holds a bunch of data and run each the stuff in it as an input for the program.
the file would hold stuff like this:
thing1.awesomesite.com 80 123.456
thing2.awesomesite.com 80 789.098
thing3.awesomesite.com 80 765.432
...
Now I already know the... (1 Reply)
Hi Guys,
I have blank file A.txt
I will run the script xyz.sh
First i want to open a.txt file...
Now i will enter some data like
XYZ
ABC
PQR
..
Save it and keep continue my script....
END of my script.
Thanks (1 Reply)
Hi dears
i use bash shell
i have INPUT.txt
like this
number of columns different in one
some row have 12 , some 11 columns
see last column
INPUT.txt
CodeGender Age Grade Dialect Session Sentence Start End Length Phonemic Phonetic
63 M 27 BS/BA TEHRANI 3 4 298320 310050... (2 Replies)
Discussion started by: alii
2 Replies
LEARN ABOUT CENTOS
tartdates
tartdates(5) LinuxTaRT Special Dates tartdates(5)NAME
tartdates - Special date configuration for LinuxTaRT
DESCRIPTION
LinuxTaRT uses a configuration file called specialdates to enable the user to display a specific tagline on certain special dates. The name
and location of this file is specified in the LinuxTaRT configuration file ~/.tartrc, but is usually:
~/.tartdates
PARAMETERS
Each line of the special date file consists of a day of the year expressed as a two digit month, a forward-slash (/), a two digit date, a
colon (:) and a line of text.
mm/dd:tagline text
Any line that does not conform to this specification will be treated as a comment. Comments may also be specified by prefixing text with a
# symbol. Using this method, you can place a comment behind a date line.
EXAMPLES
01/01:Happy New Year!!
Will use "Happy New Year!!" as the tagline when the date is January 1st.
12/25:Merry Christmas to all!
Displays "Merry Christmas to all!" as your tagline on Christmas day.
FILES
~/.tartdates
SEE ALSO tart(1)tartrc(5)tart-custom(5)Mark Veinot 1.0.0 tartdates(5)