02-17-2009
Thanks for the insight
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using korn shell for my shell script
I'm reading a file and get the data I want out and append it to a variable
directly, it shows like this
AutoMicroReport_53767.txt BANI BHUM (570N) 20080520 17:54 WAN HAI 306 078 ITH 1 1 HKHKG 20 GP M S06 7 6 1 0 TCYONG
AutoMicroReport_53767.txt... (2 Replies)
Discussion started by: finalight
2 Replies
2. UNIX for Advanced & Expert Users
no problem (6 Replies)
Discussion started by: angelina
6 Replies
3. Shell Programming and Scripting
I would like to remove characters from column 7 so that from an input file looking like this:
>HWI-EAS422_12:4:1:69:89 GGTTTAAATATTGCACAAAAGGTATAGAGCGT U0 1 0 0 ref_chr8.fa 6527777 F DD
I get something like that in an output file:
... (13 Replies)
Discussion started by: matlavmac
13 Replies
4. Shell Programming and Scripting
Hi,
I'm trying to figure out a way to encapsulate a tab character, or four or five space characters into a string variable to be used in my script. I'm using the bash shell.
I tried
$variablename=" <string text>"
but it didnt give me the output i wanted (output was still... (7 Replies)
Discussion started by: rowlf
7 Replies
5. Shell Programming and Scripting
Hi all,
Currently i am using
if( $0~/ NOT / && $0~/ NULL /)
{
.................
}
to check if the input record contains "NOT" and "NULL". But in some cases "NOT" and "NULL" are preceded and followed by tab. How do i find compare for these fields as well? (3 Replies)
Discussion started by: ysvsr1
3 Replies
6. Shell Programming and Scripting
Hello,
I have this sentence :Pattern1 Pattern2 Pattern3 Pattern4-which-contains-HELLO-string-and-other-stuff-and-second-HELLO-and-third-HELLO
I want to delete everything between the 3rd tab (\t) and the FIRST pattern "HELLO" of the line.
Result expected is : Pattern1 ... (7 Replies)
Discussion started by: theclem35
7 Replies
7. UNIX for Dummies Questions & Answers
Hi
I have a number of sequences and a string occurs a number of times in that sequence.
How can I select and replace only those strings which are followed by \tab.
for eg :
my sequence looks like :
string0 positive cd parent=string0 id =121 string0
string0 negative ef parent=... (2 Replies)
Discussion started by: sonia102
2 Replies
8. Shell Programming and Scripting
Hi,
I have a String(words with tab space) in a file ->file1.txt
0xxxx 11 test $aa$ 8.43
when i read the file and assign to variable
value=$(cat file1.txt)
echo $value
i get the output without tab spaces.
0xxxx 11 test $aa$ 8.43
How to assign string... (2 Replies)
Discussion started by: nanthagopal
2 Replies
9. Shell Programming and Scripting
Hi ,
I am looking to print the whole string from file2.txt but it is only printing 77 but not the whole matched string from File2.txt Any help is appreciated.
Thanks,
Script
awk '
BEGIN {
OFS="\t"
out = "a.txt"}
NR==FNR && NF {a=$0; next}
function print_65_11() {
if... (11 Replies)
Discussion started by: High-T
11 Replies
10. UNIX for Beginners Questions & Answers
I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file.
Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 Replies
LEARN ABOUT OSX
inline::wrapper::module
Inline::Wrapper::Module(3) User Contributed Perl Documentation Inline::Wrapper::Module(3)
NAME
Inline::Wrapper::Module - Internal object wrapper for individual Inline modules.
SYNOPSIS
use Inline::Wrapper::Module;
DESCRIPTION
Inline::Wrapper::Module is used internally by Inline::Wrapper, and should not be used directly. It will croak if you attempt to do so.
It is a descendent class of Inline::Wrapper.
METHODS
new()
Takes the same arguments as "new()" in Inline::Wrapper, but also requires a module_name and lang_ext argument.
Don't use this. It will croak if you try to use it directly.
initialize()
Initialize the object instance.
DESTROY()
Destructor to clean up the object instance, and wipe the private code module namespace created when binding the symbol list.
INHERITANCE
As Inline::Wrapper::Module is an inherited class from Inline::Wrapper, all methods that apply to the base class also apply to objects of
this class.
However, note that this has the following effects, due to the semantics of the load()/run() steps:
auto_reload settings vs. when method effects take place:
auto_reload value: | FALSE TRUE
--------------------+------------------------------------------
set_base_dir() | no effect after next reload / run()
set_language() | no effect after next reload / run()
add_language() | no effect after next reload / run()
Please read through "load()" in Inline::Wrapper and "run()" in Inline::Wrapper for insight into why the implementation works like this.
SEE ALSO
Inline::Wrapper
The Inline documentation.
The Inline-FAQ list.
The examples/ directory of this module's distribution.
AUTHOR
Please kindly read through this documentation and the examples/ thoroughly, before emailing me with questions. Your answer is likely in
here.
Also make sure that your issue is actually with the Inline::Wrapper modules, and not with Inline itself.
Jason McManus (INFIDEL) -- "infidel AT cpan.org"
LICENSE
Copyright (c) Jason McManus
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl
distribution for details.
perl v5.16.2 2010-03-10 Inline::Wrapper::Module(3)