10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have some problem in cut or paste command for my text data.
I use cut command :
cut -d ' ' -f1 Input1.txt > result.txt result.txt :
Then, I use paste command to merge result.txt.
paste -d ' ' result.txt Input1.txt > output.txt output.txt showed :
I use cut... (1 Reply)
Discussion started by: awil
2. Shell Programming and Scripting
let i have A file and B file
A has contains 4 fields as below
f1 f2 f3 f4
B file consists of 5 fields as below
f5 f6 f7 f8 f9
need to display as below output:
f5 f1 f3 f8 f9 (2 Replies)
Discussion started by: ANSHUMAN1983
3. Shell Programming and Scripting
I have a file like this -->
Consider z as space
I need to cut the <!--RESUMO--> part and paste it to the previous line so that the file will look like this-->
<!--Nzzzzz--><!--RESUMO-->... (4 Replies)
Discussion started by: samsonata
4. Shell Programming and Scripting
I have a file which contains 3 fields separated by tabs example
andrew kid baker
I need to swap kid and baker using cut and paste commands how is this to be done?
Thanks (3 Replies)
Discussion started by: drew211
5. Shell Programming and Scripting
Need a help with shell script. I have to search for a string in one of the file, if match found, copy the line to a new file and delete the line from the exisiting file.
83510000000000063800000.1800000.1600000.1600000.2400000.1800000.2000000.21... (6 Replies)
Discussion started by: gpaulose
6. Shell Programming and Scripting
I have a file with content like this for an employee:
sick day, 3/2/2009
personal day, 4/5/2009
jury duty day, 5/5/2009
how do I make the result to show:
101,sick day,... (6 Replies)
Discussion started by: jbchen
7. Shell Programming and Scripting
Hi i need a favour
i have a file which has some trillions of records. The file is like this
I want to cut specific postions in each line like cut1-3 and assisgn it to a variable and... (5 Replies)
Discussion started by: richa2.m
8. Shell Programming and Scripting
I have a very large file where say each line is made up of 80 characters.
I want to cut the characters from 20-30 and 50-60 from each line and then insert a delimiter between them (# or | etc).
000000000131.12.20990000590425246363375670011200140406... (5 Replies)
Discussion started by: PradeepRed
9. UNIX for Dummies Questions & Answers
I'm using Red Hat 8 and I'm really fustrated with cut and paste.
When I am viewing a URL in emacs I cannot paste it into the browser address window.
Yesterday, I tried VI (or was it VIM?) and it recognized it as a URL and allowed me to right mouse click on it and brought up the browser with... (1 Reply)
Discussion started by: siegfried
10. UNIX Desktop Questions & Answers
One of the things that I have learned to take for granted in the Win32 world is the cut, copy and paste hotkeys of ^X, ^C and ^V.
I use these keys all the time under Win32 to copy and paste information from one GUI into another GUI.
My question is, does X have a similiar standard?
... (4 Replies)
Discussion started by: auswipe