8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have problem with replace line in txt file , I have this string:
144185 DISK
Piece qqr8ot6l_1_1
--
144186 DISK
Piece ukr8pf2e_1_1
--
144187 DISK
Piece ter8p9gc_1_1
--
144188 DISK
Piece 4er8qb84_1_1
and (8 Replies)
Discussion started by: primo102
8 Replies
2. Shell Programming and Scripting
Dear all,
I have file input like this,
file input:
input.txt
ROUTE 0001,
( 10021)=X 71Y 1605,
X 1486Y 2220,X 1720Y 2380,X 1962Y 2553,X 2112Y 2650,X 2289Y 2746,
YF 5000,
( 10022)=X 71Y 1605,
X 498Y... (4 Replies)
Discussion started by: attila
4 Replies
3. Shell Programming and Scripting
Hi,
I need to read a file name from a txt file, found the difference in two folders, then modify the file using vimdiff,
while read file
do
diff src/$file dest/$file > /dev/null 2>&1
if ; then
vimdiff src/$file dest/$file
fi
done < ./my_text_file
since the stdin has been... (6 Replies)
Discussion started by: laopi
6 Replies
4. UNIX for Dummies Questions & Answers
HP-UX
I have a fixed length file like this
9921190625797AE2560 20091001US20091001@@NEWSITE @@ 20091013001X X 01NEW00DNA00007081 @@ SPRINGFIELD @@ ... (2 Replies)
Discussion started by: rs1969
2 Replies
5. Shell Programming and Scripting
I remember there is a sed switch i can use to edit and save the file at the same time, but i cannot recall it at all.
so instead of
-> sed 's/A/B/' file > file-tmp
-> mv file-tmp file
what can i do to just let sed edit and save the "file" (4 Replies)
Discussion started by: fedora
4 Replies
6. Shell Programming and Scripting
Hi all,
I need to create a bash script that reads a txt file on a remote (Windows 2003) server, gets the IP-addresses out of it and then fetches the folders to copy out of another txt file. (all files are auto-generated) The IP addresses that don't have a folder_list file should be ignored. At... (31 Replies)
Discussion started by: laurens
31 Replies
7. Shell Programming and Scripting
If I cat a file
And want to go to the first instance of a particular value - what command would I use?
And then from that point where I jumped to search for another value - but only search from that point forward not before the file?
Thanks~ (2 Replies)
Discussion started by: llsmr777
2 Replies
8. Shell Programming and Scripting
Hi.
I need some assistance with a file who at the end i must import to EXCEL.
The problem is that i have a file with this inside:
Output:
JOBID START TIME END TIME ELAPSED CPU
------------------------------------------------------------
AVERAGE: ... (2 Replies)
Discussion started by: osramos
2 Replies