10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So lets say i have file my_birthday.402.zip ho it can became my_birthday.4.0.2.zip
Thank you :) (1 Reply)
Discussion started by: ZerO13
1 Replies
2. Shell Programming and Scripting
Hi again. Sorry for all the questions — I've tried to do all this myself but I'm just not good enough yet, and the help I've received so far from bartus11 has been absolutely invaluable. Hopefully this will be the last bit of file manipulation I need to do.
I have a file which is formatted as... (4 Replies)
Discussion started by: crunchgargoyle
4 Replies
3. Shell Programming and Scripting
Input:
ak=70&cat15481=lot=6991901">Kaschau (1820-1840)
ak=7078&cat15482=lot=70121">Principauté (1940-1993)
ak=709&cat=lot15484=70183944">Arubas (4543-5043)Output:
70 15481 6991901
7078 15482 70121
709 15484 70183944 (11 Replies)
Discussion started by: sdf
11 Replies
4. UNIX for Dummies Questions & Answers
Good evening,
I have a file and wish to replace the 8th and 9th characters on the first line only no matter what they are with 44 and the file permanantly changed.
e.g. file example.txt before change:
123456789123456
hi how are you
blah
blah
file example.txt after change:
... (4 Replies)
Discussion started by: GarciasMuffin
4 Replies
5. Shell Programming and Scripting
hi,
I have an data from file where it has
20110904 234516 <<hdd-10#console|0c.57,passed,5,28,READ,0,20822392,8,5,4,0,40,0,-1,0,29909,25000,835,3.3,0,0,0,0,implied,0,0,2011/9/5-2:3:17,2011/9/5-2:3:47,X292_0F15,TAP ,NQ09,J40LTG\r\r\n
I want to remove characters till #console| i.e want... (1 Reply)
Discussion started by: asak
1 Replies
6. UNIX for Dummies Questions & Answers
Dear all,
I'm stuck on a certain problem regarding counting the number of characters in one line and then adjusting the number of characters of another line to this number.
This was my original input data:
@HWI-ST471_57:1:1:1231:2079/2... (4 Replies)
Discussion started by: DerSeb
4 Replies
7. Shell Programming and Scripting
Hi,
I wanted to create a script what would take two numbers out of two files and add them together, but I got stuck with greping numbers what have a dot in it.
So far I have grepped the two lines what include the numbers I need (from both files) to a third file and from that file I try to... (7 Replies)
Discussion started by: mario8eren
7 Replies
8. Shell Programming and Scripting
hi everybody
I am a new user to this forum and its previous posts have been very useful. I'm searching in a file using grep for patterns like
12.13.444
55.44.443
i.e. of form
<digit><digit>.<digit><digit>.<digit><digit><digit>
Can anybody help me with this.
Thanks in advance (4 Replies)
Discussion started by: jpriyank
4 Replies
9. Shell Programming and Scripting
Good afternoon,
just wanna ask how to ommit, for example column 2
$cat file
1 2 3 4
1 2 3 4 5
1 2 3
1 2
1 2 3 4 5 6
output:
1 3 4
1 3 4 5
1 3
1
1 3 4 5 6 (2 Replies)
Discussion started by: invinzin21
2 Replies
10. Shell Programming and Scripting
Good afternoon,
How to output like this.
$cat file
file1
file2
file3
$cat file
file1 file2 file3 (1 Reply)
Discussion started by: kenshinhimura
1 Replies