Sponsored Content
Full Discussion: Modifying a line
Top Forums Shell Programming and Scripting Modifying a line Post 302339485 by kylle345 on Thursday 30th of July 2009 03:55:42 PM
Old 07-30-2009
Hey that works but..

the output is like this:

Contig4
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Contig5
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

How do I maintain the > so it will look like this:

>Contig4
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>Contig5
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
 

10 More Discussions You Might Find Interesting

1. IP Networking

Modifying Route

hello, I have to communicate with a distant station . But Both belong to the same area. So I do not need a gate . But when I make a traceroute, it indicates that I pass through out a gate. What can I do to establish a direct connexion between the both. (with NT ) (1 Reply)
Discussion started by: hoang
1 Replies

2. Shell Programming and Scripting

can someone help me with modifying this file

Hi, I have a file which has data kind of like this. Apr 13 08:20:38 uslis10a sendmail: m3DDKSx3006432: usliss26.ca.com Apr 13 08:20:38 uslis10b sendmail: m3DDKSoK006433: usliss26.ca.com Apr 13 08:20:38 uslis10b sendmail: m3DDKcSo006442: usliss26.ca.com Apr 13 08:20:38 uslis10c... (2 Replies)
Discussion started by: eamani_sun
2 Replies

3. Shell Programming and Scripting

Modifying file from outside

hi , I have a javascript file like this: function fnValidateId(){ var array_id = new Array("444","7888","6633","555","146562","3333","33332") var tmp_id = document.form1.id.value; var num=0; while(1) { if(tmp_id ==... (9 Replies)
Discussion started by: Sreejith_VK
9 Replies

4. Shell Programming and Scripting

modifying a awk line

Hi, I want to print specific columns (from 201 to 1001). The line that I am using is listed below. However I also want to print column 1. So column 1 and 201 to 1001. What modifcations do I need to make? Code: awk -F'\t' 'BEGIN {min = 201; max = 1001 }{for (i=min; i<=max; i++) printf... (5 Replies)
Discussion started by: phil_heath
5 Replies

5. UNIX for Dummies Questions & Answers

Modifying a particulae data in a line contained in File

Hi, I have a file containing data: systemname/userid/password/comment systemname1/userid1/password1/comment1 systemname2/userid2/password2/comment2 I want to modify the "password" using script. Can anybody help me with this problem?:confused: (2 Replies)
Discussion started by: pgarg1989
2 Replies

6. Shell Programming and Scripting

Modifying data within the same line

My file looks like this But I need to move the frequency value (Freq) to the second position, leaving intact the numbers at the top. The resulting file should look like this Thanks in advance! (3 Replies)
Discussion started by: Xterra
3 Replies

7. Shell Programming and Scripting

Help with modifying files

Hello everyone, I have some data files, with mixed header formats. the sample for the same is: >ABCD76567.x1 AGTCGATCGTAGTCGTAGCTGT >ABCD76567.y1 AGTCGATCGTAGTCGTAGCTGT >ABCD76568.x1 pair_info:898989 AGTCGATCGTAGTCGTAGCTGT >ABCD76568.y1 pair_info:893489 AGTCGATCGTAGTCGTAGCTGT... (2 Replies)
Discussion started by: ad23
2 Replies

8. Shell Programming and Scripting

Help with modifying a filename

Hello, I have a filename that looks like this: ABC_96_20141031_041133.232468 I need to shorten only the "_2014" part of the filename to simply "_14" so the filename looks like: ABC_96_141031_041133.232468 I have to do a search for this string because there are hundreds of files and... (17 Replies)
Discussion started by: bbbngowc
17 Replies

9. Shell Programming and Scripting

Modifying file from command line using Perl

Hi all, I am having a slight issue updating a file using perl from the command line I need some help with. The item is: DATA_FILE_TYPE=FULL When I run the below command /usr/bin/perl -p -i -e "s/DATA_FILE_TYPE=/DATA_FILE_TYPE=APPEND/g" processfile.cfg It looks to be... (2 Replies)
Discussion started by: kstevens67
2 Replies

10. Shell Programming and Scripting

Modifying bash script to take each line in a file and execute command

I need to modify a bash script to to take each line in a file and execute command. I currently have this: #!/bin/bash if ; then echo "Lipsa IP"; exit; fi i=1 ip=$1 while ; do if ; then rand=`head -$i pass_file | tail -1` user=`echo $rand | awk '{print $1}'` pass=`echo $rand | awk '{print $2}'`... (3 Replies)
Discussion started by: galford
3 Replies
Unicode::GCString::JA_JP(3pm)				User Contributed Perl Documentation			     Unicode::GCString::JA_JP(3pm)

NAME
Unicode::GCString::JA_JP - UAX #29 XXXXXXXXXXXXXXXX SYNOPSIS
use Unicode::GCString; $gcstring = Unicode::GCString->new($string); DESCRIPTION
Unicode::GCString XUnicodeXXXXXUnicodeXXXXX29 [UAX #29] XXXXXXXXXXXXXXXXXXextended grapheme clusterXXXXXXXXX XXXXXXXXgrapheme clusterXXXUnicodeXXXXXXXXXXXXXXXXgrapheme baseXXXXXXXXXXXXXXXXXgrapheme extenderXXXX/XXXXXXXXXXXprependX characterXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXX XXXXXXX new (STRING, [LINEBREAK]) XXXXXXXX UnicodeXXX STRING XXXXXXXXXXXXXXX (Unicode::GCString XXXXXX) XXXX XXXXXX Unicode::LineBreak XXXXXX LINEBREAK XXXXXXXXXXXX copy XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XX chars XXXXXXXXXXX XXXXXXXXXXXXXXXUnicodeXXXXXXXXUnicodeXXXXXXXXXXXXX columns XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXX "DESCRIPTION" in Unicode::LineBreak::JA_JP XXXX length XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXX as_string """OBJECT""" XXXXXXXXXXX XXXXXXXXXXXXXXXUnicodeXXXXXXXXX cmp (STRING) STRING "cmp" STRING XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXUnicodeXXXXXXXX concat (STRING) STRING "." STRING XXXXXXXXXXX XXXXXXXXXXXXXXXX STRING XXXXXXUnicodeXXXXXXXX XXXXXXXXX (columns() XXX) XXXXXXXXXX (length() XXX) XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX join ([STRING, ...]) XXXXXXXXXXX STRING XXXXXXXXXXXXXXXXXXXXXX STRING XXXX UnicodeXXXXXXXXXXX substr (OFFSET, [LENGTH, [REPLACEMENT]]) XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX OFFSET X LENGTH XXXXXXXXXXXXX REPLACEMENT XXXXXXXXXXXXXXXXXXXXXX REPLACEMENT X UnicodeXXXXXXXX XXXXXXXXXXXXXXX as_array "@{"OBJECT"}" as_arrayref XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX eos XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXX item ([OFFSET]) XXXXXXXXXXX OFFSETXXXXXXXXXXXXXX OFFSET XXXXXXXXXXXXXXXXXXXXXXXXXXX next "<"OBJECT">" XXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX pos ([OFFSET]) XXXXXXXXXXX OFFSET XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX XXXXXXXXX flag ([OFFSET, [VALUE]]) XXXXXXXXXXX OFFSETXXXXXXXXXXXXXXXXXXXXXXXX OFFSET XXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXX 255 XXXXXXXXXXXXXXX 0X XXXXXXXXXXXXXXXXXX Unicode::LineBreak::ALLOW_BEFORE XXXXXXXXXXXXXXXXXXXX Unicode::LineBreak::PROHIBIT_BEFORE XXXXXXXXXXXXXXXXXXXXXX lbclass ([OFFSET]) OFFSETXXXXXXXXXXXXXXXXXXXXXXX (Unicode::LineBreak::JA_JP XX) XXXX OFFSET XXXXXXXXXXXXXXXXXXXXXXXXXXX X: lbc() XXXXXXXX lbclass_ext ([OFFSET]) OFFSETXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (Unicode::LineBreak XX) XXXX XXXXXXXXXXXXXXXXXXXXX CM XXXXXlbclass() XXXXXX X: lbcext() XXXXXXXX XXX lbc XXXXXXXXXXXXXXXXXXXXXXX (Unicode::LineBreak::JA_JP XX) XXXX lbcext XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (Unicode::LineBreak::JA_JP XX) XXXX XXXXXXXXXXXXXXXXXXXXX CM XXXXX XXXXXXXXXXXXXXXXXXX CAVEATS
o XXXXXXXXXXXXXXXXXXXXXX (XXXXXXXXX)X o Perl X 5.10.1 XXXXXXXUnicode::GCString XXXXXXXX Unicode XXXXXXXXXXX "utf8_mg_pos_cache_update" XXXXXXXXXXXXXXXXX XXXXXXXXXXX $sub = substr($gcstring, $i, $j); XXXXXXXXXXXXXXXXXXX $sub = substr("$gcstring", $i, $j); $sub = substr($gcstring->as_string, $i, $j); o XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXtailoringXXXXXXXXXXXXXXXX VERSION
$VERSION XXXXXXXXXXX XXXXXXXXXXXX http://hatuka.nezumi.nu/repos/Unicode-LineBreak/ <http://hatuka.nezumi.nu/repos/Unicode-LineBreak/> XXXX SEE ALSO
[UAX #29] Mark Davis (2009-2010). Unicode Standard Annex #29: Unicode Text Segmentation, Revision 15-17. <http://www.unicode.org/reports/tr29/>. AUTHOR
Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> COPYRIGHT
Copyright (C) 2009-2012 Hatuka*nezumi - IKEDA Soji. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-24 Unicode::GCString::JA_JP(3pm)
All times are GMT -4. The time now is 04:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy