10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am looking for a global variable found_flag to be set a value that can be accessed outside the loop anywhere in the bash shell script.
more test.sh
found_flag=0
searchdir=/web/bea_apps/applications
find . -type f \! -name tasty.tar | $AWK -F/ '{print $NF}' | while IFS=... (5 Replies)
Discussion started by: mohtashims
5 Replies
2. Shell Programming and Scripting
Hi All ,
I am new to programming and here is what i am trying to achieve , i am taking a list of mounted filesystems (based on the HLQ) , passing it on to a txt file and then copying the file to a DSN .The code i am using :
df | grep WAST.*WASCFG.*ZFS | awk '{print $2}' | sort -o log.txt |... (5 Replies)
Discussion started by: AnjanM
5 Replies
3. Shell Programming and Scripting
"Help Me" Need script for transferring bulk files from one format to text format in a unix server.
Please suggest (2 Replies)
Discussion started by: Kranthi Kumar
2 Replies
4. Shell Programming and Scripting
I'd like to format a text in unix before mailing it to users.
I want to change color and font of my plain text in unix.
Thanks.. (1 Reply)
Discussion started by: Sara_84
1 Replies
5. Shell Programming and Scripting
Hi all
I need you help to create script get the below output
Thanks in advance.
Ashan
name.txt
Wymouth_MRI_Lun79
PACS DR TEMP R drive
stat.txt
NO Normal
Normal
Out need
Wymouth_MRI_Lun79 NO Normal
PACS DR TEMP R drive Normal (1 Reply)
Discussion started by: ashanabey
1 Replies
6. Shell Programming and Scripting
Hi,We have an interface which extracts data from database tables, spool the records into text files, and copy those files using SFTP to a windows server location. The target system loads these files into its database using some DTS packages in SQL Server.
This interface of exporting text files... (13 Replies)
Discussion started by: urjagadeesh
13 Replies
7. Shell Programming and Scripting
I have file input like-
abc,"123",""123","123","123","123","123","123","123","123","123","123","123","123",
abc,"123","123","123","123","123","123","123","123","123""123",abc etc
Input file consists of 1000 records and i want to copy into final file except abc
abc is at fixed position... (6 Replies)
Discussion started by: AhmedLakadkutta
6 Replies
8. Shell Programming and Scripting
input file test.csv has following structure.
SCHEM1.TAB1;COL1;DATATYPE;NOTNULL--
SCHEMA1.TAB1;COL2;DATATYPE;NOTNULL;WITH DEFAULT;--
....
SCHEMA1.TABn;COL1;DATATYPE;NOTNULL;WITH DEFAULT;
i started using awk but text is not tab seperated.its just ; seperated.
how to print
output... (4 Replies)
Discussion started by: rocking77
4 Replies
9. Shell Programming and Scripting
Good morning every body
i have a document html and i would like to extract some parts of texte to repete
in the midle of balises it is diferent (blabla)
the information to extract,severels times i the same documents
<div class="channelTitle">
blablaaaaaaaa ... (2 Replies)
Discussion started by: Novice-
2 Replies
10. Shell Programming and Scripting
I have a bash script to output the contents of a text file to html. Everything outputs ok, except this:
######################################################################
# #
# PRIVATE/PROPRIETARY #
# #
# ANY UNAUTHORIZED ACCESS TO, OR MISUSE OF ABC COMPANY #
# SYSTEMS OR DATA MAY... (2 Replies)
Discussion started by: numele
2 Replies