03-23-2010
Any examples of how I might do that?
I do not see much for examples on Google.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys,
Please can someone tell me how to strip each string from the following ?
TABLE1||METHOD||TYPE||STATUS||DATE
What i need is to assign each value to the variable
TABLE1 to var1
METHOD to var2
and so on
If there is NULL in one of them, something like A||B||||C||
I want the... (14 Replies)
Discussion started by: kamathg
14 Replies
2. Shell Programming and Scripting
Hi,
Can someone let me know how do I strip out any non-alphanumeric character in string tomake it alphanumeric?
i.e
abc def ghi ->abcdefghi
abc-def-ghi ->abcdefghi
abc#def-ghi->abcdefghi
Thanks in advance (3 Replies)
Discussion started by: braindrain
3 Replies
3. Shell Programming and Scripting
I have a file that looks like this:
/home/fred/opt/bin
/opt/usr/bin
/usr/sbin/var/opt
I need a way to chop of everything after the last occurance of the / sign including the /. So the file above will now look like this below.
/home/fred/opt
/opt/usr
/usr/sbin/var
I tried using... (6 Replies)
Discussion started by: x96riley3
6 Replies
4. Programming
I am new in Unix. I go through the man strip. But did not understand that, why when we have -G (debug and release ) option in the compiler, than using strip command to strip the debug information from the objects. i want to binary for teh production i will compile it without debug option. What the... (4 Replies)
Discussion started by: Saurabh78
4 Replies
5. Shell Programming and Scripting
Hi,
I have this kinda of data:-
0,0,0,0,1,2,0,4,5,6,7,foo
0,0,0,0,1,4,0,5,5,5,5,foo1
0,0,6,0,1,6,0,6,1,2,3,orange
etc...
I wanted to remove the 0 which occur on the same rows of foo,foo1 and orange in this case.
Desired output is:-
0,1,2,4,5,6,7,foo
0,1,4,5,5,5,5,foo1... (9 Replies)
Discussion started by: ahjiefreak
9 Replies
6. Shell Programming and Scripting
awk -F"\t" -vOFS="\t" '{print $1"\t-\t-","",$6,$7"\t-"$8"\t-\t-\t"$15}' file.tsv > output.tsv
Using the above command how to remove the string www.abc.com from the $7 value. (7 Replies)
Discussion started by: sandy1028
7 Replies
7. Solaris
Hi
I am getting the below error while using strip command.
strip: libelf error.
Request error: no string table
strip: a.out: file not manipulated
Could somebody please let me know what might be the solution??
It is in ksh and solaris 10.
Thanks in advance (4 Replies)
Discussion started by: vali__
4 Replies
8. Shell Programming and Scripting
I want to strip first few characters from each record until a proper datesamp is found.
Request for getNextPage.................06/29/12 07:49:30 VVUKOVIC@67.208.166.131{7A805FEF76A62FCBB23EA78B5380EF95.tomcat1}TP-Processor14 LogExchUsage: ERROR:: isprof=false : exch=NSDQ
output should be... (2 Replies)
Discussion started by: ratheeshjulk
2 Replies
9. Shell Programming and Scripting
Hello I have two vars loaded with
$VAR1="ISOMETHING103"
$VAR2="COTHERTHING04"
I need to:
1) Strip the first char. Could be sed 's/^.//'
2) The number has it's rules. If it has "hundreds", it needs to be striped.
If it is just two digits it shouldn't.
So, for VAR1 output should be... (7 Replies)
Discussion started by: tristezo2k
7 Replies
LEARN ABOUT DEBIAN
template::manual
Template::Manual(3pm) User Contributed Perl Documentation Template::Manual(3pm)
NAME
Template::Manual - Template Toolkit User Manual
Template Toolkit Manual
The Template Toolkit manual contains documentation on using and extending the Template Toolkit.
Template::Manual::Intro
The Template::Manual::Intro page provides an introduction to the Template Toolkit
Template::Manual::Syntax
The Template::Manual::Syntax desribes the syntax and structure of templates and the directive tags embedded within them.
Template::Manual::Directives
The Template::Manual::Directives page lists all the Template Toolkit directives and gives examples of their use.
Template::Manual::Variables
The Template::Manual::Variables page describes the use of variables in templates.
Template::Manual::VMethods
The Template::Manual::VMethods page provides a full list of virtual methods that can be used in conjunction with variables, and gives
examples of their use.
Template::Manual::Config
The Template::Manual::Config page describes all of the Template Toolkit configuration options.
Template::Manual::Filters
The Template::Manual::Filters page lists all of the Template Toolkit filters and gives examples of their use.
Template::Manual::Plugins
The Template::Manual::Plugins page lists all of the standard plugins distributed with Template Toolkit and gives examples of their use.
Template::Manual::Internals
The Template::Manual::Internals page describes the internal workings of the Template Toolkit. It is aimed at developers who wish to extend
or modify the
Template::Manual::Views
The Template::Manual::Views page describes the experimental "VIEW" directive.
Template::Manual::Credits
The Template::Manual::Credits page lists the people who have contributed to the Template Toolkit.
perl v5.14.2 2011-12-20 Template::Manual(3pm)