Search Results

Search: Posts Made By: srinivasayedla
2,608
Posted By srinivasayedla
I have removed echo $filename from my scrip. Now...
I have removed echo $filename from my scrip. Now my "echo $?" is next to "filename=`ls -l $1$dated$wild | tail -1 |grep ^-|awk '{print $9}'`"

the exit status should not be '0' if the file does...
2,608
Posted By srinivasayedla
Thanks for the reply, I removed $filename...
Thanks for the reply,

I removed $filename and run the script..but still iam facing the same problem. If the output is as "ls: 0653-341 The file PROCESS1.CAIRP.SSZCKST.A_R.030112* does not exist."...
2,608
Posted By srinivasayedla
Return value error
Hi All,

I am new to shell sciprting and i have written a small script to get the filename if it exists. I need to capture the file name using the script and i also need the exit status. The...
3,128
Posted By srinivasayedla
inverting a binary
Hi ,

I have a binary in a variable and i want to invert it and store in a new variable. i mean, replace 0 with 1 and vice versa. I tried reading character by character with the below script but...
7,989
Posted By srinivasayedla
thanx alister and jayan for the solution.
thanx alister and jayan for the solution.
7,989
Posted By srinivasayedla
split a string and convert to binary
Hi All,
Iam new to unix scripting and I want a split a string into 4 characters each, leaving the last two characters and convert the splitted values into binary.
For example:...
Showing results 1 to 6 of 6

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