Search Results

Search: Posts Made By: shashiprakash81
1,844
Posted By shashiprakash81
Thanks for your reply I had following code ...
Thanks for your reply

I had following code

#!/bin/bash

processLine(){
line="$@" # get all args
echo $line
}
FILE =""
FILE="$1"
# make sure file exist and readable
if [ !...
1,844
Posted By shashiprakash81
opening a file given as standard input
Hi

I am trying to write a shell script which should take the file as standard input. As file(content and name both) will change for each run. It should read the file line by line. with each line...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy