11-26-2011
any other advice is appreciated
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
variable1="This is a car"
Now I want to replace the content of variable1, "car" to "dog". Is there any simple command I can use.
Thanks.
Joseph (4 Replies)
Discussion started by: josephwong
4 Replies
2. Shell Programming and Scripting
Hi Experts,
I have binary files contain an ID Line as:
:
:
$Header: FNDSCMON.fmb 115.6 2000/01/11 10:26:10 pkm ship$
:
:
where the ID Line format is:
$Header: <File_Name> <Version> <Last_update_date_time> pkm ship$
In this Example:
File_Name = FNDSCMON.fmb
Version = 115.6... (13 Replies)
Discussion started by: victorcheung
13 Replies
3. Shell Programming and Scripting
Hi All,sorry for inconvience....please find the attachement for my question i am unable to paste the question here....please help me in slving thisthanksk.k (4 Replies)
Discussion started by: G.K.K
4 Replies
4. Shell Programming and Scripting
My input:
Data name: ABC001
Data length: 1000
Detail info
Data Direction Start_time End_time Length
1 forward 10 100 90
1 forward 15 200 185
2 reverse 50 500 450
Data name: XFG110
Data length: 100
Detail info
Data Direction Start_time End_time Length
1 forward 50 100 50 ... (11 Replies)
Discussion started by: patrick87
11 Replies
5. Shell Programming and Scripting
Hi All,
I have two files one of which having some mobile numbers and corresponding value whose sample content as follows:
9058629605,8.0
9122828964,30.0
And in second file complete details of all mobile numbers and sample content as follows and delimeter used is comma(,):
... (8 Replies)
Discussion started by: poweroflinux
8 Replies
6. Shell Programming and Scripting
Input file:
CCNI data564_input1 264
CORO1A data564_input2 155
ABC-B data17_input1 3466
ABC-B data17_input2 1133
ABC-B data17_input3 2162
ABC-B data17_input4 2019
HNRNPA2B1 data95_input1 101
HNRNPA2B1 data95_input2 340
IFITM1 data105_input2 291
IFITM2 data105_input1 505... (3 Replies)
Discussion started by: cpp_beginner
3 Replies
7. Shell Programming and Scripting
Hi,
I am having trouble while using 'sed' with reading files. Please help. I have 3 files. File A, file B and file C. I want to find content of file B in file A and replace it by content in file C.
Thanks a lot!!
Here is a sample of my question.
e.g. (file A: a.txt; file B: b.txt; file... (3 Replies)
Discussion started by: dirkaulo
3 Replies
8. Shell Programming and Scripting
Hi,
Below is my input file :
AAAG(12) TC(14)
AACCCT(66) AACCCT(30) AACCCT(18) AACCCT(48)
TCTG(12) TCTG(20) TCTG(16) AC(12) AC(12) TCTG(16) TCTG(12) AC(12) AC(12) AC(12)
AC(26) AC(14)
AGTG(12) AC(24)
AGTG(12) TCC(12)
Desired output :
AAAG TC
AACCCT AACCCT AACCCT AACCCT
TCTG TCTG... (4 Replies)
Discussion started by: perl_beginner
4 Replies
9. Shell Programming and Scripting
I have a wordpress site. I need add "post_title" to all my "post_content" mysql field. Thanks.
my content: Free <b>Online Tips</b> output:Free post_title <b>Online Tips</b>:
This code does not work:
UPDATE wp_posts SET post_content = REPLACE ( post_content, 'Free <b>Online... (0 Replies)
Discussion started by: tara123
0 Replies
10. Shell Programming and Scripting
Hello all ; )
I'got a file1 with a lot of emails like :
fistname.lastname@domaine1.comAnd another file2 with emails like
fistname.lastname@domaine2.ct.netI need a shell script that will read each line from the file1 and try to find if in file2 the fistname.lastname exist.
If yes, the... (1 Reply)
Discussion started by: Aswex
1 Replies
SEQ(1) User Commands SEQ(1)
NAME
seq - print a sequence of numbers
SYNOPSIS
seq [OPTION]... LAST
seq [OPTION]... FIRST LAST
seq [OPTION]... FIRST INCREMENT LAST
DESCRIPTION
Print numbers from FIRST to LAST, in steps of INCREMENT.
-f, --format=FORMAT
use printf style floating-point FORMAT
-s, --separator=STRING
use STRING to separate numbers (default:
)
-w, --equal-width
equalize width by padding with leading zeroes
--help display this help and exit
--version
output version information and exit
If FIRST or INCREMENT is omitted, it defaults to 1. That is, an omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST.
FIRST, INCREMENT, and LAST are interpreted as floating point values. INCREMENT is usually positive if FIRST is smaller than LAST, and
INCREMENT is usually negative if FIRST is greater than LAST. FORMAT must be suitable for printing one argument of type `double'; it
defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point decimal numbers with maximum precision PREC, and to %g otherwise.
AUTHOR
Written by Ulrich Drepper.
REPORTING BUGS
Report seq bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report seq translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for seq is maintained as a Texinfo manual. If the info and seq programs are properly installed at your site, the
command
info coreutils 'seq invocation'
should give you access to the complete manual.
GNU coreutils 8.5 February 2011 SEQ(1)