10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I have a question regarding text substitution.
I have a file that contains a lot of text.
Some of the text is separated with a \n like:
TEST\nTEST2\nTEST3
BLA\nBLA2\nBLA3
So there are both actual newlines and 'used to be newlines' in the text.
using tr
tr "\n" ","
or... (5 Replies)
Discussion started by: JaapSchuurman
5 Replies
2. UNIX for Dummies Questions & Answers
Hi Everybody! First post! Totally noobie.
I'm using the terminal to read a poorly formatted book.
The text file contains, in the middle of paragraphs, hyphenation to split words that are supposed to be on multiple pages. It looks ve -- ry much like this.
I was hoping to use grep -v " -- "... (5 Replies)
Discussion started by: AxeHandle
5 Replies
3. Shell Programming and Scripting
How do I remove line that do not contain text, but that do contain tabs?
I have tried the command
cat file | awk NF
but that doesn't work when the lines contain tabs (and spaces).
I have also tried:
cat file | sed '/^$/d' (9 Replies)
Discussion started by: locoroco
9 Replies
4. UNIX and Linux Applications
i have 2 cursors. i want to assign the value of first cursor(employee_id) to the where condition of cursor c2(please refer the bold statement).
how do i do if i want to assign the value of c1 to where condition of cursor c2?
declare
cursor c1 IS
select employee_id from employee
cursor c2... (1 Reply)
Discussion started by: vkca
1 Replies
5. Shell Programming and Scripting
Hey everyone, I kinda new to shell programming and learning bits and pieces of stuff from tutorials.
I got this problem, where I asked my user to enter a string, which will delete a specific line in the string, which I'm unable to do it.
Text file(BookDB.txt) as shown:
Three Little... (4 Replies)
Discussion started by: aLHaNz
4 Replies
6. UNIX for Advanced & Expert Users
Hi,
Well my title isn't very clear I think. So to understand my goal:
I have a script "test1"
#!/bin/bash
xvkbd -text blabla
with xbindkeys, I bind F5 key in order it runs my test1 script
So when I press F5, test1 runs.
I'm under Emacs/Vi and I press F5 in order to have "blabla" be... (0 Replies)
Discussion started by: xib.be
0 Replies
7. UNIX for Advanced & Expert Users
On solaris and irix systems, I'm using csh in an existing xterm or dterm and would like to change the text colors. How do I accomplish this?
Thanks (1 Reply)
Discussion started by: fjc
1 Replies
8. Shell Programming and Scripting
Hello Everyone! Of course I am rather new to these forums, but I have been browsing the forums for awhile, always has a lot of useful information :)
This time however, I can not find the information I need, well, not completely. So here is the problem, I am a linux admin (dealing mostly with... (1 Reply)
Discussion started by: Rhije
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Anyone knows how to disable color text displayed on xterm window screen? I hate that color making me hard to read when front and background color are similar.
Thanks,
M. (1 Reply)
Discussion started by: modemer
1 Replies
10. Shell Programming and Scripting
hi all,
i log into an xterm with bash shell but the character size of the xterm shell is too small.
how can i enlarge the size of text on this xterm bash shell? (3 Replies)
Discussion started by: armen
3 Replies