10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a file myfile.txt as seen below.
Name Age Days
--------- ------- --------
ABC 5 23
DEF 20 120
When i cat this file into a html file and send mail, I could see the file is opened as seen below.
Name Age Days --------- ... (7 Replies)
Discussion started by: jayadanabalan
7 Replies
2. UNIX for Dummies Questions & Answers
Is there a generic method for applying word wrap to all cells for a .csv file? (6 Replies)
Discussion started by: jimmyf
6 Replies
3. Shell Programming and Scripting
Hi Folks,
Could you please advise what will be the SED command to replace a word in all xml's under a particular directory
for example let say I rite now at the following below location
$ cd /ter/rap/config
now under config directory there will be lots of xml file , now my objective is to... (1 Reply)
Discussion started by: punpun66
1 Replies
4. UNIX for Dummies Questions & Answers
I have an input file like this,
79 #--------------------------------------------------------------------------- 80 #- define generic contact 81 cat > ${NAGIOS_ETC}/contact-generic.cfg <<-'EOF' 82 define contact { 83 name ... (4 Replies)
Discussion started by: ramky79
4 Replies
5. UNIX for Dummies Questions & Answers
When I cat a file that has several hundred characters in a line, the right hand side is truncated. How can I make everything displayed on my screen word wrap? (6 Replies)
Discussion started by: bsimon
6 Replies
6. UNIX for Dummies Questions & Answers
I tried line wrap in sed by sed -l 20 ' n' and as far as i understand each long line would be split into lenght of 20 characters in each. but thats not happening.wats going wrong:confused: (5 Replies)
Discussion started by: mithun1!
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have gone through may posts and dint find exact solution for my requirement.
I have file which consists below data and same file have lot of other data.
<MAPPING DESCRIPTION ='' ISVALID ='YES' NAME='m_TASK_UPDATE' OBJECTVERSION ='1'>
<MAPPING DESCRIPTION ='' ISVALID ='NO'... (11 Replies)
Discussion started by: tmalik79
11 Replies
8. HP-UX
in my HP-Unix environment I continue to have issues seeing the whole file path when I do a grep
Example:
>ps -ef |grep test
> /testpath/is/here/
should see:
>ps -ef |grep test
> /testpath/is/here/not/here/test
Is there a setting to turn word wrap on/off? It works fine in our AIX... (4 Replies)
Discussion started by: bowtiextreme
4 Replies
9. Shell Programming and Scripting
Hi,
This is my first time post a new thread. I have been trying to work on this for the past 2 days and could not find any good solution.
I have 1 long long line ( EDI wrapped file) like below:
NEW*SR*04411763447*279*278*Q~*ZR*AAV*SR*04511763460*SQ*21B37F04~HL*305*304*Q~K~SN1*1*1*SR*05511763461*... (6 Replies)
Discussion started by: vanda_25
6 Replies
10. UNIX for Dummies Questions & Answers
I am using vi to edit shell scripts, but whenever I get to the end of the line it goes to the next line, and when I run the script it considers whatever was placed onthe next line a new command...I guess this has to do with word wrap- how do I continue to write on one line? (3 Replies)
Discussion started by: dangral
3 Replies