10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I know there are many questions and replies regarding grep command.
What I would like to do is a bit different.
File A:
hello world welcome to my page
this is my test site
how are you
I am fine, thank you
where have you been
I was in hospital
really hope you are fine now
Thanks,... (10 Replies)
Discussion started by: baris35
10 Replies
2. Shell Programming and Scripting
I need to cut all the Strings in one file and Paste it in the another file in the Specific line by replacing the specific String. For Example
Step 1: From the newfile.txt, i need to copy all the strings
newfile.txt
How are you, I am fine, How is your work
newfle2.txt
Hello david,... (2 Replies)
Discussion started by: Padmanabhan
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
how can I paste a string1 after a particular string2 in a file? (6 Replies)
Discussion started by: FelipeAd
6 Replies
4. Shell Programming and Scripting
using paste -- sd " " via command line give sme desired output however when I use > it changes the format slightly.
Anyone any ideas as to why this may happen
Running
SunOS alps 5.10 Generic_125100-05 sun4v sparc SUNW,Sun-Fire-T200 (14 Replies)
Discussion started by: rob171171
14 Replies
5. Shell Programming and Scripting
Hi,
I am using SunOS
I want to serch my previous command
from unix prompt
(like on AIX we can search by ESC -k)
how to get in SunOs
urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies
6. Shell Programming and Scripting
Hi i'm not really sure if it's possible or not in bash. Basically I want to convert a ssh key created with ssh-keygen to putty format. The problem is that puttygen doesn't have an option for supplying passphrase in batch mode so it must be entered manually. For sskey generated with ssh-keygen i use... (2 Replies)
Discussion started by: ktm
2 Replies
7. UNIX for Dummies Questions & Answers
Is this something SED would be used for or can AWK do it?
I have a string that I would like to chop bits out of and re-arrange some of the rest.
Basically I want to change this:
<log4j:event logger="webserver" timestamp="1240110840109" time="Sun Apr 19 04:14:00 BST 2009" level="INFO"... (4 Replies)
Discussion started by: Sepia
4 Replies
8. Solaris
Hi Experts
/etc/vfstab is corrupted as while editing it i forgot to comment some of the line.
how can i edit the file in single in user mod?
also, i have some problem in CD drive , so i cant boot it from CD and do the changes.
i tried mounding the root file system as rw, however no... (10 Replies)
Discussion started by: kumarmani
10 Replies
9. UNIX for Dummies Questions & Answers
A developer of mine has this requirement - I couldn't tell her quickly how to do it with UNIX commands or a quick script so she's writing a quick program to do it - but that got my curiousity up and thought I'd ask here for advice.
In a text file, there are some records (about half of them)... (4 Replies)
Discussion started by: LisaS
4 Replies
10. Programming
How do I correct this vector<string> insert.
I am geeting segmintation dump.
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cctype>
#include <cmath>
#include <iostream>
//#include <sstream>
#include <string>
#include <utility>
#include <vector>
using... (1 Reply)
Discussion started by: photon
1 Replies