10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a file a1.txt with data as follows.
dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><!
The delimiter string: <SelectStatement modified='1' type='string'><!
dlm="<SelectStatement modified='1' type='string'><!
The above command is... (7 Replies)
Discussion started by: kmanivan82
2. Shell Programming and Scripting
I want to keep the name of the songs with their respective extensions only.
03 Choti choti gaiya choti choti gaval.mp3
03 PAYALIYA .mp3
04 - Isq Risk .mp3
08 - A2 - Aasan Nahin Yahan .mp3
AE... (3 Replies)
Discussion started by: Pramod_009
3. UNIX for Dummies Questions & Answers
I have a file that includes strings with special characters, eg
line: 1 - special 1
line: = 4
How can I grep the lines of file1 from file2, line by line?
I used fgrep and egrep to grep a particular line and worked fine, but when I used:
cat file1|while read line;do... (2 Replies)
Discussion started by: FelipeAd
4. Shell Programming and Scripting
I have 2 files with following data
Autophagy-related protein 16-1 OS=Homo sapiens GN=ATG16L1 PE=1 SV=2,
Maximum coiled-coil residue probability: 0.657 in position 163.
Maximum dimeric residue probability: 0.288 in position 163.
... (1 Reply)
Discussion started by: manigrover
5. Shell Programming and Scripting
Hi, I'm having trouble with awk print all characters between 2 patterns. I tried more then one solution found on this forum but with no success.
Probably my mistakes are due to the special characters "" and "]"in the search patterns.
Well, have a log file like this:
... (3 Replies)
Discussion started by: ginolatino
6. Shell Programming and Scripting
Please let me know, how to generate control characters in a file.
I want to test my script which will check for any control characters in a file before loading the data into the PRD Database.
Thanks in Advance,
Sapy. (2 Replies)
Discussion started by: saps19
7. Shell Programming and Scripting
I would like to know how to solve one of my problems using expert unix commands.
I have a file with occasional blank lines;
I need to edit the file so that the file looks like this; (10 Replies)
Discussion started by: Lucky Ali
8. Shell Programming and Scripting
I know this should be simple, but I've been manning sed awk grep and find and am stupidly stumped :(
I'm trying to use sed (or awk, find, etc) to find 4 characters on the second line of a file.txt 44-47 characters in. I can find lots of sed things for lines, but not characters. (4 Replies)
Discussion started by: unclecameron
9. Shell Programming and Scripting
I am looking for a solution to display those lines in any file that contains 80 or more characters along with their corresponding line number in the file.
The below script will print the lines with their corresponding line numbers...
sed = Sample.cpp | sed 'N;s/\n/\t/;... (8 Replies)
Discussion started by: frozensmilz
10. Shell Programming and Scripting
i have this text file name test.txt which contain :
and i need a script that can print out the line numbers using a while loop..
so when the script is run..it will have this:
any ideas? :) thanks guys (4 Replies)
Discussion started by: forevercalz