i have a file in following pattreen
A:
Size = 10
B:
Size = 0
C:
Size = 220
D:
Size = 0
i want to Display only Charecters which have which have Size = 0
The Out put Should be
B:
D:
Can Some one Help (7 Replies)
Id like to delete a line from a file using (preferably a single line unix command) if it contains a certain string pattern.
If line contains "abcdef" then delete that line.
Help greatly appreciated. (7 Replies)
I would like to be able to shell out to the command line and play sounds.
After installing "sox" I can now do this using the play command. Is there a way to stop the playing once it starts? (5 Replies)
Hi all,
I have a folder hierarchy with many gz files in them. I would like to recursively decompress them, but keep the original files. I would also like to move all the decompressed files (these are very large HDF5 files with .CP12 extension) to another data folder.
Currently I am using four... (3 Replies)
Hi.
I have this shell script for ftp..
ftp -n 12.34.5.67 << EOF
user username password
cd LOCAL/inbox
bin
get JAN_Total.gz
# del JAN_Total.gz
EOF
how do i modify the commented part i.e. del JAN_Total.gz only if that JAN_Total.gz has been successfully transfered to the local... (8 Replies)
Hi,
I am beginner to Unix.
My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8.
Please advice me how to proceed on this. (7 Replies)
I am completely new to shell scripting but have been assigned the task of creating several batch files to manipulate data. My final task requires me to find lines that have duplicates present then delete not only the duplicate but the original as well. The script will be used in a windows... (9 Replies)
Hi all!!
I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII
Is there command to display the files encoding?
Thank you! (2 Replies)