01-24-2017
Thank You Corona688. That's exactly what I was looking for. Works fine now.
This User Gave Thanks to DJR For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
In a shell script I am makin use of 3 files f1,f2 and f3.txt.
When the Unix server is restarted I want to delete all these 3
files if they are existing.
( I suppose I will have to use this command
rm /thefilepath/f*
but dont know in which script to use.)
Anyone knows what can be... (6 Replies)
Discussion started by: k_oops9
6 Replies
2. Shell Programming and Scripting
hi all,
there is any command or anything we can use to read the file name and size. thanks (6 Replies)
Discussion started by: s_linux
6 Replies
3. Shell Programming and Scripting
I need a command which filters rows ONLY NOT beginning with '*'
So far I have following NOT sufficient command, because it does not include ALL possible literals except of '*'
grep ^ INPUT_FILE >>OUTPUT_FILE
Is it possible to write something like
grep NOT ^
INPUT_FILE... (3 Replies)
Discussion started by: ABE2202
3 Replies
4. UNIX for Dummies Questions & Answers
Hello. I have the following issue: my txt file has the following format:
train/dr4/fklc0/sx175.txt
0 80282 Severe myopia contributed to Ron's inferiority complex.
train/dr4/fklc0/sx355.txt
0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
awk 'NR%2==0' test1.txt >... (4 Replies)
Discussion started by: li_bi
4 Replies
5. Shell Programming and Scripting
Hello. I have the following issue: my txt file has the following format:
train/dr4/fklc0/sx175.txt 0 80282 Severe myopia contributed to Ron's inferiority complex. train/dr4/fklc0/sx355.txt 0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
With the... (1 Reply)
Discussion started by: li_bi
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I recently downloaded the Linux kernel source code, added them all to a project in MS VC++ and plan to read through it so that I can improve the way I code, read/understand a large code database and hopefully contribute something to the development of the Linux OS.
I have taken a... (3 Replies)
Discussion started by: clavian
3 Replies
7. Solaris
Hi Folks,
I am again here with a peculier problem.
Please see the code
root@celdws01: # sar -u -f /var/adm/sa/sa21
SunOS celdws01 5.9 Generic_118558-34 sun4u 12/21/2011
10:10:09 %usr %sys %wio %idle
10:10:09 unix restarts
Can anyone help me in... (9 Replies)
Discussion started by: vivek.goel.piet
9 Replies
8. Shell Programming and Scripting
Hi,
I am facing issues with the below:
I have a lookup file say lookup.lkp.This lookup.lkp file contains strings delimited by comma(,).
Now i want to read this command from file and execute it.
So my code below is :
Contents in the lookup.lkp file is :
c_e,m,a,`cd $BOX | ls cef_*|tail... (7 Replies)
Discussion started by: vital_parsley
7 Replies
9. Shell Programming and Scripting
Hi
I have jobs (some 1000) defined in a file and I want to read those jobs and run a a command.
For example:
jobs.txt
abc
efg
I want to read the entire file and run the following command
Delete -JOB "abc"
Deleteing abc...
Delete -JOB "efg"
Delete efg...
Can somebody help me... (4 Replies)
Discussion started by: karan8810
4 Replies
10. UNIX for Beginners Questions & Answers
hi
when i am trying to check the file size using du command in shell script but getting a below error, although the file is present
du: cannot access `LOGS_18-08-20.tar.gz': No such file or directory
below is snippet of script
cd /home
dt=$(date --date="yesterday" +"%y-%m-%d")
du ... (3 Replies)
Discussion started by: scriptor
3 Replies
LEARN ABOUT DEBIAN
html::formfu::element::simpletable
HTML::FormFu::Element::SimpleTable(3pm) User Contributed Perl Documentation HTML::FormFu::Element::SimpleTable(3pm)
NAME
HTML::FormFu::Element::SimpleTable - simple table element
SYNOPSIS
The following is yaml markup for a table consisting of a header row containing 2 "th" cells, and a further 2 rows, each containing 2 "td"
cells.
type: SimpleTable
headers:
- One
- Two
rows:
-
- type: Input
name: one_a
- type: Input
name: two_a
-
- type: Input
name: one_b
- type: Input
name: two_b
DESCRIPTION
Sometimes you just really need to use a table to display some fields in a grid format.
As its name suggests, this is a compromise between power and simplicity. If you want more control of the markup, you'll probably just have
to revert to using nested block's, setting the tags to table, tr, td, etc. and adding the cell contents as elements.
METHODS
headers
Input Value: @headers
"headers" accepts an arrayref of strings. Each string is xml-escaped and inserted into a new header cell.
rows
Input Value: @rows
"rows" accepts an array-ref, each item representing a new row. Each row should be comprised of an array-ref, each item representing a table
cell.
Each cell item should be appropriate for passing to "element" in HTML::FormFu; so either a single element's definition, or an array-ref of
element definitions.
odd_class
Input Value: $string
The supplied string will be used as the class-name for each odd-numbered row (not counting any header row).
even_class
Input Value: $string
The supplied string will be used as the class-name for each even-numbered row (not counting any header row).
SEE ALSO
Is a sub-class of, and inherits methods from HTML::FormFu::Element::Block, HTML::FormFu::Element
HTML::FormFu
AUTHOR
Carl Franks, "cfranks@cpan.org"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-23 HTML::FormFu::Element::SimpleTable(3pm)