10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a csv dataset like this :
I'm thinking of use like awk, sed to covert the dataset to this format: (if it's two character, then keep the same)
TT,rs9274407... (7 Replies)
Discussion started by: nengcheng
2. UNIX for Beginners Questions & Answers
I am using Windows 10 and cygwin/bash.
I need to write a script in bash which simulates opening of a program and then press some keys such as F5, ENTER and ALT+F4.
I have written a VBScript which does the job
Set WshShell = WScript.CreateObject("WScript.Shell")... (9 Replies)
Discussion started by: supernono06
3. Shell Programming and Scripting
I have one file , and i want to read that file character by character.
I need this script in ksh.
while using read option with -n1 am getting error.
while read -n1 c read has bad option
And if i am using below script, then if in a line has space like this ( Pallvi mahajan)... (10 Replies)
Discussion started by: pallvi_mahajan
4. Shell Programming and Scripting
I have a bash loop that waits for a single key press, then does $something depending on what $key is pressed before refreshing the screen with updated data. The problem I have is that the script will store additional key presses and chain them together causing the screen to redraw and the script... (1 Reply)
Discussion started by: DarkPhoenix
5. Shell Programming and Scripting
I have the following scenario, The contents of main file are like :
And i need the output in the following form:
... (3 Replies)
Discussion started by: dipanchandra
6. Shell Programming and Scripting
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
7. Shell Programming and Scripting
I've made a script to grep a file
for i in `cat filename.txt`
strings ./binfile | grep "$i" 2>&1 > /dev/null
this works fine as long as in filename.txt i don't have any entries with spaces. But in my case i want to grep something with spaces like "lala tata"
and... (3 Replies)
Discussion started by: papasj
8. Shell Programming and Scripting
Hello all respected people,
Can i read a file character by character without using sed,awk and perl commands.
Thanks in advance. (4 Replies)
Discussion started by: murtaza
9. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
10. UNIX for Dummies Questions & Answers
im having trouble doing this:
i have a variable with 2 characters repeating e.g. aababbbaaaababaabbaabbba
is there a way i can search the variable for a's and b's and then change a's to b's and b's to a's?
im guessing its like getting the 1's compliment of the string
im doing this in... (2 Replies)
Discussion started by: vipervenom25