10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I just learning shell script. Need your shell script expertise to help me. I would like to stemming the words by matching the root words first between both files and replace all words by "I" character but replace "B" character after root words and "E" before root words in affix_words.txt.
... (18 Replies)
Discussion started by: paranrat
18 Replies
2. UNIX for Advanced & Expert Users
Hi :)
I have a .txt file with thousands of words.
I was wondering if i could use a simple sed or awk command to convert / replace all words in the text file to Title Case format ?
Example:
from:
this is line one
this is line two
this is line three
to desired output:
This Is Line... (8 Replies)
Discussion started by: martinsmith
8 Replies
3. Shell Programming and Scripting
Hello,
I have output like below:
-----------------------------------------------------------------------------
Group 'group1' on system 'system01' is running.
-----------------------------------------------------------------------------
Group 'group2' on system 'system01' is running.... (4 Replies)
Discussion started by: sniper57
4 Replies
4. Shell Programming and Scripting
hi,
i am writing a shell script in which i read a line in a variable.
FNAME="s1.txt s2.txt s3.txt s4.txt s5.txt"
i want to create a array and store single file names in a array..
so the array should contain
arr="s1.txt"
arr="s2.txt"
arr="s3.txt"
arr="s4.txt"
arr="s5.txt"
how to... (3 Replies)
Discussion started by: Little
3 Replies
5. Shell Programming and Scripting
This is an assignment where we were supposed to create a script to get an orginal string and replace it with another. However when I run my script (change-lines), it says
./change-lines: cannot shift
I do not where the problem is. help!
#!/bin/sh
# a shell function to print and error... (4 Replies)
Discussion started by: alis
4 Replies
6. Shell Programming and Scripting
Dear experts,
I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140
1302501033105
1302511536485
1302512669550
I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies
7. Shell Programming and Scripting
Hi
I want to write a shell script to print only those words from a file whose beginning
and last character are same.
Please help.
Thanks,
vini (5 Replies)
Discussion started by: vini kumar
5 Replies
8. Shell Programming and Scripting
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Discussion started by: alex83
3 Replies
9. Shell Programming and Scripting
Hi,
i have a line
tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd /tftpboott
in /etc/inet.conf file. ineed to replace nobody with root and /tftpboott with /flx/boot. i tried using sed ,but i could not change both of them. can you please help me to do this.
Edit:... (7 Replies)
Discussion started by: vprasads
7 Replies
10. Shell Programming and Scripting
Hi,
I want to list all the files matching in a directory directory given below
Here one of the folder has a space in the path.
/MAS02/RMS/WBDev/Krishna/Krishna Mohan/FMSplitByKeyAfterChanges1000075383.fileman.*.txt.out.1000075383.0
The following works from command line... (1 Reply)
Discussion started by: hikrishn
1 Replies