10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a dictionary of over 400,000 words with the following structure
source=target
The database contains single words as well as phrases. To train the data, I need only mappings with out a space i.e. where both source and target do not have any space in between.
I use Ultraedit as... (4 Replies)
Discussion started by: gimley
4 Replies
2. Shell Programming and Scripting
I have a requirement to read a list of script names create a .finish blank file for each of them.
The script names can be like:
- ScriptName.sh
- ScriptName.sh Param1
- ScriptName.sh Param1 Param2
I need to create files like below using the same script:
- ScriptName.finished
-... (6 Replies)
Discussion started by: member2014
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
var=QSB SBD SDN SGJ SJP SKB SKD SLP SML SNB SRE SRG STP TAJ UMP UNO VKS VND VNS WAH ZRR
I have to put *.sql after every word
What I did
echo $var>/root/file1.sql
sed -i 's/ /*.sql /g' file1.sql
cat file1.sql
Output
QSB*.sql SBD*.sql SDN*.sql SGJ*.sql SJP*.sql SKB*.sql... (9 Replies)
Discussion started by: kaushik02018
9 Replies
4. Shell Programming and Scripting
Hi,
How to remove blank spaces using vi (I am using AIX)?
#cat siva.txt
AAA BBB
CCC DDD
EEE FFF
Need to remove space between 2 columns.
Regards,
Siva (7 Replies)
Discussion started by: ksgnathan
7 Replies
5. Shell Programming and Scripting
Hi everyone, i need to "grep" a file with a string with space blanks, like this:
grep "XXXX XX" file.txt
The problem, i need put the "XXXX XX" in a string variable. When the script executes the grep, do:
gresp XXXX XX file.txt
How can i solve this problem?
The... (5 Replies)
Discussion started by: Xedrox
5 Replies
6. Shell Programming and Scripting
I have a file say ADCD which is like following-->
Please consider 'z' as space
#cat ADCD
<!--Yzzz|z-->
<!--Nzzzzz-->
Now I want to store the content of this file to a variable say VAR like this-->
#VAR=`cat ADCD`
#echo $VAR
<!--Yz|z--> <!--Nz-->
Now I don' t want the variable... (2 Replies)
Discussion started by: muchyog
2 Replies
7. Shell Programming and Scripting
TT0000013101257
|
JCJMMUJMMUB018 ... (0 Replies)
Discussion started by: sususa
0 Replies
8. UNIX for Dummies Questions & Answers
hi everyone,
i have a problem in unix script , i need to remove line that has blank , not blank line .
example: mahm,,jdggkhsd,ghskj,,fshjkl
can anyone help? (4 Replies)
Discussion started by: Reham.Donia
4 Replies
9. Shell Programming and Scripting
Dear Masters,
Need your help for this small query.
I am trying to get all the strings that starts with a blank space as output.
Limitation is , it should be done only through AWK.
Input will be:
aa
_1bbb
c-ccc
ddd
eeeee
ff
Output should be:
_1bbb
c-ccc
eeee
ff (5 Replies)
Discussion started by: patric2326
5 Replies
10. Shell Programming and Scripting
Hi,
I would like to add blank space for fixed length(50) if length of string <30.
Scenario:
File Size
AAA.CSV 123
BB.CSV 134
Expected:
File Size
AAA.CSV 123
BB.CSV 134
I want append blank space until 30 character.
Thanks and Regards,
HAA (1 Reply)
Discussion started by: HAA
1 Replies